diff --git a/cache/repo_cache_bug.go b/cache/repo_cache_bug.go index 34e2a14426b81e1c4c409378b09442ab89a4a10a..bcbfcea3b542216cbc1561a902d0f4339ec3c1ce 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 90a79539bef554ce72e5fddf4b54baabbbb20cf0..09f6a6ccf7b5b4379b1b146fc137f4fd1b1df28b 100644 --- a/commands/rm.go +++ b/commands/rm.go @@ -12,7 +12,7 @@ func newRmCommand() *cobra.Command { cmd := &cobra.Command{ Use: "rm ", 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 {