removes 'add' from 'Add a add note' (#91)

This commit is contained in:
Matthew Loseke 2018-08-20 04:41:40 -05:00 committed by Sung Won Cho
commit 0fa9133822

View file

@ -31,7 +31,7 @@ func preRun(cmd *cobra.Command, args []string) error {
func NewCmd(ctx infra.DnoteCtx) *cobra.Command {
cmd := &cobra.Command{
Use: "add <content>",
Short: "Add a add note",
Short: "Add a note",
Aliases: []string{"a", "n", "new"},
Example: example,
PreRunE: preRun,