Skip to content

Commit

Permalink
Modfied command name
Browse files Browse the repository at this point in the history
  • Loading branch information
fredericlemoine committed Dec 22, 2017
1 parent 90ddb91 commit 833842c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cmd/clearcomments.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ gotre clear comments -i t.nw :
}

func init() {
commentsCmd.AddCommand(clearcommentsCmd)
commentCmd.AddCommand(clearcommentsCmd)
}
10 changes: 5 additions & 5 deletions cmd/comments.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ import (
)

// brlenCmd represents the brlen command
var commentsCmd = &cobra.Command{
Use: "comments",
var commentCmd = &cobra.Command{
Use: "comment",
Short: "Modify branch/node comments",
Long: `Modify branch/node comments`,
}

func init() {
RootCmd.AddCommand(commentsCmd)
commentsCmd.PersistentFlags().StringVarP(&intreefile, "input", "i", "stdin", "Input tree")
commentsCmd.PersistentFlags().StringVarP(&outtreefile, "output", "o", "stdout", "Cleared tree output file")
RootCmd.AddCommand(commentCmd)
commentCmd.PersistentFlags().StringVarP(&intreefile, "input", "i", "stdin", "Input tree")
commentCmd.PersistentFlags().StringVarP(&outtreefile, "output", "o", "stdout", "Cleared tree output file")
}

0 comments on commit 833842c

Please sign in to comment.