Update docs

vince created

Change summary

cache/repo_cache_bug.go | 2 +-
commands/rm.go          | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Detailed changes

cache/repo_cache_bug.go 🔗

@@ -360,7 +360,7 @@ func (c *RepoCache) NewBugRaw(author *IdentityCache, unixTime int64, title strin
 	return cached, op, nil
 }
 
-// RemoveBug removes a bug from the cache and repo
+// RemoveBug removes a bug from the cache and repo given a bug id prefix
 func (c *RepoCache) RemoveBug(prefix string) error {
 	b, err := c.ResolveBugPrefix(prefix)
 

commands/rm.go 🔗

@@ -12,7 +12,7 @@ func newRmCommand() *cobra.Command {
 	cmd := &cobra.Command{
 		Use:      "rm <id>",
 		Short:    "Remove an existing bug.",
-		Long:     "Remove an existing bug in the local repository. If the bug was imported from a bridge, specify the remote name to remove it from. Note removing bugs that were imported from bridges will not remove the bug remote, and will only remove the local copy of the bug.",
+		Long:     "Remove an existing bug in the local repository. Note removing bugs that were imported from bridges will not remove the bug on the remote, and will only remove the local copy of the bug.",
 		PreRunE:  loadBackendEnsureUser(env),
 		PostRunE: closeBackend(env),
 		RunE: func(cmd *cobra.Command, args []string) error {