Minor change in command description

This commit is contained in:
Radhi Fadlillah 2018-02-01 16:39:33 +07:00
parent 2a480cc4cf
commit 017ff4bd18

View file

@ -13,9 +13,9 @@ var (
printCmd = &cobra.Command{
Use: "print [indices]",
Short: "Print the saved bookmarks.",
Long: "Show details of bookmark record by its DB index. " +
"If no arguments, all records with actual index from DB are shown. " +
"Accepts hyphenated ranges and space-separated indices.",
Long: "Show the saved bookmarks by its DB index. " +
"Accepts space-separated list of indices (e.g. 5 6 23 4 110 45), hyphenated range (e.g. 100-200) or both (e.g. 1-3 7 9). " +
"If no arguments, all records with actual index from DB are shown.",
Run: func(cmd *cobra.Command, args []string) {
// Read flags
useJSON, _ := cmd.Flags().GetBool("json")