diff options
Diffstat (limited to 'commands')
-rw-r--r-- | commands/add.go | 2 | ||||
-rw-r--r-- | commands/bridge.go | 2 | ||||
-rw-r--r-- | commands/bridge_configure.go | 2 | ||||
-rw-r--r-- | commands/bridge_pull.go | 2 | ||||
-rw-r--r-- | commands/bridge_rm.go | 2 | ||||
-rw-r--r-- | commands/commands.go | 2 | ||||
-rw-r--r-- | commands/comment.go | 2 | ||||
-rw-r--r-- | commands/comment_add.go | 2 | ||||
-rw-r--r-- | commands/deselect.go | 2 | ||||
-rw-r--r-- | commands/label.go | 2 | ||||
-rw-r--r-- | commands/label_add.go | 2 | ||||
-rw-r--r-- | commands/label_rm.go | 2 | ||||
-rw-r--r-- | commands/ls-labels.go | 2 | ||||
-rw-r--r-- | commands/ls.go | 2 | ||||
-rw-r--r-- | commands/pull.go | 2 | ||||
-rw-r--r-- | commands/push.go | 2 | ||||
-rw-r--r-- | commands/root.go | 2 | ||||
-rw-r--r-- | commands/select.go | 2 | ||||
-rw-r--r-- | commands/show.go | 2 | ||||
-rw-r--r-- | commands/status.go | 2 | ||||
-rw-r--r-- | commands/status_close.go | 2 | ||||
-rw-r--r-- | commands/status_open.go | 2 | ||||
-rw-r--r-- | commands/termui.go | 2 | ||||
-rw-r--r-- | commands/title.go | 2 | ||||
-rw-r--r-- | commands/title_edit.go | 2 | ||||
-rw-r--r-- | commands/user.go | 2 | ||||
-rw-r--r-- | commands/user_create.go | 2 | ||||
-rw-r--r-- | commands/user_list.go | 2 | ||||
-rw-r--r-- | commands/version.go | 2 | ||||
-rw-r--r-- | commands/webui.go | 2 |
30 files changed, 30 insertions, 30 deletions
diff --git a/commands/add.go b/commands/add.go index 54ede126..ea40227c 100644 --- a/commands/add.go +++ b/commands/add.go @@ -56,7 +56,7 @@ func runAddBug(cmd *cobra.Command, args []string) error { var addCmd = &cobra.Command{ Use: "add", - Short: "Create a new bug", + Short: "Create a new bug.", PreRunE: loadRepo, RunE: runAddBug, } diff --git a/commands/bridge.go b/commands/bridge.go index a473776d..2566fd06 100644 --- a/commands/bridge.go +++ b/commands/bridge.go @@ -31,7 +31,7 @@ func runBridge(cmd *cobra.Command, args []string) error { var bridgeCmd = &cobra.Command{ Use: "bridge", - Short: "Configure and use bridges to other bug trackers", + Short: "Configure and use bridges to other bug trackers.", PreRunE: loadRepo, RunE: runBridge, Args: cobra.NoArgs, diff --git a/commands/bridge_configure.go b/commands/bridge_configure.go index ef499f1f..ce10d9af 100644 --- a/commands/bridge_configure.go +++ b/commands/bridge_configure.go @@ -91,7 +91,7 @@ func promptName() (string, error) { var bridgeConfigureCmd = &cobra.Command{ Use: "configure", - Short: "Configure a new bridge", + Short: "Configure a new bridge.", PreRunE: loadRepo, RunE: runBridgeConfigure, } diff --git a/commands/bridge_pull.go b/commands/bridge_pull.go index 669a6713..9b251479 100644 --- a/commands/bridge_pull.go +++ b/commands/bridge_pull.go @@ -38,7 +38,7 @@ func runBridgePull(cmd *cobra.Command, args []string) error { var bridgePullCmd = &cobra.Command{ Use: "pull [<name>]", - Short: "Pull updates", + Short: "Pull updates.", PreRunE: loadRepo, RunE: runBridgePull, } diff --git a/commands/bridge_rm.go b/commands/bridge_rm.go index 172fc0d8..80a831ff 100644 --- a/commands/bridge_rm.go +++ b/commands/bridge_rm.go @@ -25,7 +25,7 @@ func runBridgeRm(cmd *cobra.Command, args []string) error { var bridgeRmCmd = &cobra.Command{ Use: "rm name <name>", - Short: "Delete a configured bridge", + Short: "Delete a configured bridge.", PreRunE: loadRepo, RunE: runBridgeRm, Args: cobra.ExactArgs(1), diff --git a/commands/commands.go b/commands/commands.go index e48cd542..a30c38a5 100644 --- a/commands/commands.go +++ b/commands/commands.go @@ -61,7 +61,7 @@ func runCommands(cmd *cobra.Command, args []string) error { var commandsCmd = &cobra.Command{ Use: "commands [<option>...]", - Short: "Display available commands", + Short: "Display available commands.", RunE: runCommands, } diff --git a/commands/comment.go b/commands/comment.go index 89378da3..3d5fe4eb 100644 --- a/commands/comment.go +++ b/commands/comment.go @@ -46,7 +46,7 @@ func commentsTextOutput(comments []bug.Comment) { var commentCmd = &cobra.Command{ Use: "comment [<id>]", - Short: "Display or add comments", + Short: "Display or add comments.", PreRunE: loadRepo, RunE: runComment, } diff --git a/commands/comment_add.go b/commands/comment_add.go index 80955da5..9bb24086 100644 --- a/commands/comment_add.go +++ b/commands/comment_add.go @@ -56,7 +56,7 @@ func runCommentAdd(cmd *cobra.Command, args []string) error { var commentAddCmd = &cobra.Command{ Use: "add [<id>]", - Short: "Add a new comment", + Short: "Add a new comment.", PreRunE: loadRepo, RunE: runCommentAdd, } diff --git a/commands/deselect.go b/commands/deselect.go index 210f158c..f92c81fd 100644 --- a/commands/deselect.go +++ b/commands/deselect.go @@ -25,7 +25,7 @@ func runDeselect(cmd *cobra.Command, args []string) error { var deselectCmd = &cobra.Command{ Use: "deselect", - Short: "Clear the implicitly selected bug", + Short: "Clear the implicitly selected bug.", Example: `git bug select 2f15 git bug comment git bug status diff --git a/commands/label.go b/commands/label.go index 58ccc299..4f15c893 100644 --- a/commands/label.go +++ b/commands/label.go @@ -33,7 +33,7 @@ func runLabel(cmd *cobra.Command, args []string) error { var labelCmd = &cobra.Command{ Use: "label [<id>]", - Short: "Display, add or remove labels", + Short: "Display, add or remove labels.", PreRunE: loadRepo, RunE: runLabel, } diff --git a/commands/label_add.go b/commands/label_add.go index 2b808311..b936bc37 100644 --- a/commands/label_add.go +++ b/commands/label_add.go @@ -37,7 +37,7 @@ func runLabelAdd(cmd *cobra.Command, args []string) error { var labelAddCmd = &cobra.Command{ Use: "add [<id>] <label>[...]", - Short: "Add a label", + Short: "Add a label.", PreRunE: loadRepo, RunE: runLabelAdd, } diff --git a/commands/label_rm.go b/commands/label_rm.go index 6b48fe72..c03a20d9 100644 --- a/commands/label_rm.go +++ b/commands/label_rm.go @@ -37,7 +37,7 @@ func runLabelRm(cmd *cobra.Command, args []string) error { var labelRmCmd = &cobra.Command{ Use: "rm [<id>] <label>[...]", - Short: "Remove a label", + Short: "Remove a label.", PreRunE: loadRepo, RunE: runLabelRm, } diff --git a/commands/ls-labels.go b/commands/ls-labels.go index ef2c95bc..5610fb56 100644 --- a/commands/ls-labels.go +++ b/commands/ls-labels.go @@ -27,7 +27,7 @@ func runLsLabel(cmd *cobra.Command, args []string) error { var lsLabelCmd = &cobra.Command{ Use: "ls-label", - Short: "List valid labels", + Short: "List valid labels.", Long: `List valid labels. Note: in the future, a proper label policy could be implemented where valid labels are defined in a configuration file. Until that, the default behavior is to return the list of labels already used.`, diff --git a/commands/ls.go b/commands/ls.go index f641b58a..75b7ceaf 100644 --- a/commands/ls.go +++ b/commands/ls.go @@ -131,7 +131,7 @@ func lsQueryFromFlags() (*cache.Query, error) { var lsCmd = &cobra.Command{ Use: "ls [<query>]", - Short: "List bugs", + Short: "List bugs.", Long: `Display a summary of each bugs. You can pass an additional query to filter and order the list. This query can be expressed either with a simple query language or with flags.`, diff --git a/commands/pull.go b/commands/pull.go index 67c2a339..d2d75f3f 100644 --- a/commands/pull.go +++ b/commands/pull.go @@ -54,7 +54,7 @@ func runPull(cmd *cobra.Command, args []string) error { // showCmd defines the "push" subcommand. var pullCmd = &cobra.Command{ Use: "pull [<remote>]", - Short: "Pull bugs update from a git remote", + Short: "Pull bugs update from a git remote.", PreRunE: loadRepo, RunE: runPull, } diff --git a/commands/push.go b/commands/push.go index 0477be60..8f67d3c0 100644 --- a/commands/push.go +++ b/commands/push.go @@ -39,7 +39,7 @@ func runPush(cmd *cobra.Command, args []string) error { // showCmd defines the "push" subcommand. var pushCmd = &cobra.Command{ Use: "push [<remote>]", - Short: "Push bugs update to a git remote", + Short: "Push bugs update to a git remote.", PreRunE: loadRepo, RunE: runPush, } diff --git a/commands/root.go b/commands/root.go index 04bd6a83..adbf51d9 100644 --- a/commands/root.go +++ b/commands/root.go @@ -19,7 +19,7 @@ var repo repository.ClockedRepo // RootCmd represents the base command when called without any subcommands var RootCmd = &cobra.Command{ Use: rootCommandName, - Short: "A bug tracker embedded in Git", + Short: "A bug tracker embedded in Git.", Long: `git-bug is a bug tracker embedded in git. git-bug use git objects to store the bug tracking separated from the files diff --git a/commands/select.go b/commands/select.go index cc688354..6b214961 100644 --- a/commands/select.go +++ b/commands/select.go @@ -41,7 +41,7 @@ func runSelect(cmd *cobra.Command, args []string) error { var selectCmd = &cobra.Command{ Use: "select <id>", - Short: "Select a bug for implicit use in future commands", + Short: "Select a bug for implicit use in future commands.", Example: `git bug select 2f15 git bug comment git bug status diff --git a/commands/show.go b/commands/show.go index 3adc8b52..c62db1a1 100644 --- a/commands/show.go +++ b/commands/show.go @@ -113,7 +113,7 @@ func runShowBug(cmd *cobra.Command, args []string) error { var showCmd = &cobra.Command{ Use: "show [<id>]", - Short: "Display the details of a bug", + Short: "Display the details of a bug.", PreRunE: loadRepo, RunE: runShowBug, } diff --git a/commands/status.go b/commands/status.go index 7928628a..4675195d 100644 --- a/commands/status.go +++ b/commands/status.go @@ -31,7 +31,7 @@ func runStatus(cmd *cobra.Command, args []string) error { var statusCmd = &cobra.Command{ Use: "status [<id>]", - Short: "Display or change a bug status", + Short: "Display or change a bug status.", PreRunE: loadRepo, RunE: runStatus, } diff --git a/commands/status_close.go b/commands/status_close.go index 03618cc6..94d05ddf 100644 --- a/commands/status_close.go +++ b/commands/status_close.go @@ -30,7 +30,7 @@ func runStatusClose(cmd *cobra.Command, args []string) error { var closeCmd = &cobra.Command{ Use: "close [<id>]", - Short: "Mark a bug as closed", + Short: "Mark a bug as closed.", PreRunE: loadRepo, RunE: runStatusClose, } diff --git a/commands/status_open.go b/commands/status_open.go index f19847db..9a2b76ab 100644 --- a/commands/status_open.go +++ b/commands/status_open.go @@ -30,7 +30,7 @@ func runStatusOpen(cmd *cobra.Command, args []string) error { var openCmd = &cobra.Command{ Use: "open [<id>]", - Short: "Mark a bug as open", + Short: "Mark a bug as open.", PreRunE: loadRepo, RunE: runStatusOpen, } diff --git a/commands/termui.go b/commands/termui.go index abfd165f..19a1397a 100644 --- a/commands/termui.go +++ b/commands/termui.go @@ -20,7 +20,7 @@ func runTermUI(cmd *cobra.Command, args []string) error { var termUICmd = &cobra.Command{ Use: "termui", - Short: "Launch the terminal UI", + Short: "Launch the terminal UI.", PreRunE: loadRepoEnsureUser, RunE: runTermUI, } diff --git a/commands/title.go b/commands/title.go index c9157a70..f9b7542b 100644 --- a/commands/title.go +++ b/commands/title.go @@ -31,7 +31,7 @@ func runTitle(cmd *cobra.Command, args []string) error { var titleCmd = &cobra.Command{ Use: "title [<id>]", - Short: "Display or change a title", + Short: "Display or change a title.", PreRunE: loadRepo, RunE: runTitle, } diff --git a/commands/title_edit.go b/commands/title_edit.go index 8848e7a8..e95c77d0 100644 --- a/commands/title_edit.go +++ b/commands/title_edit.go @@ -54,7 +54,7 @@ func runTitleEdit(cmd *cobra.Command, args []string) error { var titleEditCmd = &cobra.Command{ Use: "edit [<id>]", - Short: "Edit a title", + Short: "Edit a title.", PreRunE: loadRepo, RunE: runTitleEdit, } diff --git a/commands/user.go b/commands/user.go index 64482555..daf9e654 100644 --- a/commands/user.go +++ b/commands/user.go @@ -43,7 +43,7 @@ func runUser(cmd *cobra.Command, args []string) error { var userCmd = &cobra.Command{ Use: "user [<id>]", - Short: "Display or change the user identity", + Short: "Display or change the user identity.", PreRunE: loadRepo, RunE: runUser, } diff --git a/commands/user_create.go b/commands/user_create.go index 00ec5b9b..037d79b2 100644 --- a/commands/user_create.go +++ b/commands/user_create.go @@ -70,7 +70,7 @@ func runUserCreate(cmd *cobra.Command, args []string) error { var userCreateCmd = &cobra.Command{ Use: "create", - Short: "Create a new identity", + Short: "Create a new identity.", PreRunE: loadRepo, RunE: runUserCreate, } diff --git a/commands/user_list.go b/commands/user_list.go index 4d6e5e12..63717ce3 100644 --- a/commands/user_list.go +++ b/commands/user_list.go @@ -33,7 +33,7 @@ func runUserLs(cmd *cobra.Command, args []string) error { var userLsCmd = &cobra.Command{ Use: "ls", - Short: "List identities", + Short: "List identities.", PreRunE: loadRepo, RunE: runUserLs, } diff --git a/commands/version.go b/commands/version.go index b4dc008e..05016a0b 100644 --- a/commands/version.go +++ b/commands/version.go @@ -41,7 +41,7 @@ func runVersionCmd(cmd *cobra.Command, args []string) { var versionCmd = &cobra.Command{ Use: "version", - Short: "Show git-bug version information", + Short: "Show git-bug version information.", Run: runVersionCmd, } diff --git a/commands/webui.go b/commands/webui.go index e2a3265c..f86616d5 100644 --- a/commands/webui.go +++ b/commands/webui.go @@ -224,7 +224,7 @@ func (gufh *gitUploadFileHandler) ServeHTTP(rw http.ResponseWriter, r *http.Requ var webUICmd = &cobra.Command{ Use: "webui", - Short: "Launch the web UI", + Short: "Launch the web UI.", PreRunE: loadRepo, RunE: runWebUI, } |