Skip to content
Permalink
Browse files

Change save command help text

  • Loading branch information...
Raggaer committed Feb 21, 2019
1 parent dd2f76e commit 3aa7585f2c12cf205c8529d41653ec74d898e93e
Showing with 13 additions and 2 deletions.
  1. +13 −2 command.go
@@ -13,6 +13,17 @@ type command struct {
}

var commands = []command{
{
Key: "save",
Fn: func(args []string) {
if err := saveDatabase(); err != nil {
fmt.Println("Unable to save database")
fmt.Println(err.Error())
}
},
Help: "Saves the database to disk",
HelpSmall: "Saves the database to disk",
},
{
Key: "exit",
Fn: exit,
@@ -95,8 +106,8 @@ var commands = []command{
search(args)
}
},
Help: "Performs a fuzzy search on all the current group entries",
HelpSmall: "Performs a fuzzy search on all the current group entries",
Help: "Performs a fuzzy search on all the current group entries (search <query>)",
HelpSmall: "Performs a fuzzy search on all the current group entries (search <query>)",
},
}

0 comments on commit 3aa7585

Please sign in to comment.
You can’t perform that action at this time.