aboutsummaryrefslogtreecommitdiffstats
path: root/commands/comment.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-20 15:46:14 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-20 15:46:14 +0200
commite89f87624f27b7b98efc959bd96e260ac86f9236 (patch)
tree6561a1c1eb1660736c48d668f43ccaf67cce19a2 /commands/comment.go
parent1dd5118eebe0e993d55ae5433cb2dcfd2764bf4f (diff)
downloadgit-bug-e89f87624f27b7b98efc959bd96e260ac86f9236.tar.gz
generate markdown documentation
Diffstat (limited to 'commands/comment.go')
-rw-r--r--commands/comment.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/comment.go b/commands/comment.go
index ce40d2e3..cbd34ab3 100644
--- a/commands/comment.go
+++ b/commands/comment.go
@@ -65,7 +65,7 @@ var commentCmd = &cobra.Command{
}
func init() {
- rootCmd.AddCommand(commentCmd)
+ RootCmd.AddCommand(commentCmd)
commentCmd.Flags().StringVarP(&commentMessageFile, "file", "F", "",
"Take the message from the given file. Use - to read the message from the standard input",