summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--cache/repo_cache_bug.go2
-rw-r--r--commands/rm.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/cache/repo_cache_bug.go b/cache/repo_cache_bug.go
index 34e2a1442..bcbfcea3b 100644
--- a/cache/repo_cache_bug.go
+++ b/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)
diff --git a/commands/rm.go b/commands/rm.go
index 90a79539b..09f6a6ccf 100644
--- a/commands/rm.go
+++ b/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 {