aboutsummaryrefslogtreecommitdiffstats
path: root/commands/title_edit.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-07-28 20:24:24 +0200
committerMichael Muré <batolettre@gmail.com>2020-07-28 20:24:24 +0200
commitae5c0967cec40a7dcf9804ff592a4d15f1b26569 (patch)
tree7c1ba7626fd8158be030876d44ba55daf465d694 /commands/title_edit.go
parent51c887ff9dd4f2a5f65d2d3de57f8a7729b1010d (diff)
downloadgit-bug-ae5c0967cec40a7dcf9804ff592a4d15f1b26569.tar.gz
commands: cleanup the command's usage to avoid warnings when generating the doc
Diffstat (limited to 'commands/title_edit.go')
-rw-r--r--commands/title_edit.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/title_edit.go b/commands/title_edit.go
index e2dbc245..3750f2cc 100644
--- a/commands/title_edit.go
+++ b/commands/title_edit.go
@@ -3,7 +3,7 @@ package commands
import (
"github.com/spf13/cobra"
- "github.com/MichaelMure/git-bug/commands/select"
+ _select "github.com/MichaelMure/git-bug/commands/select"
"github.com/MichaelMure/git-bug/input"
)
@@ -16,7 +16,7 @@ func newTitleEditCommand() *cobra.Command {
options := titleEditOptions{}
cmd := &cobra.Command{
- Use: "edit [<id>]",
+ Use: "edit [ID]",
Short: "Edit a title of a bug.",
PreRunE: loadBackendEnsureUser(env),
PostRunE: closeBackend(env),