Minor doc fix

This commit is contained in:
Radhi Fadlillah 2019-06-09 17:02:16 +07:00
parent 9b97bd8759
commit dd4c10732a
2 changed files with 10 additions and 10 deletions

View file

@ -25,10 +25,10 @@ func addCmd() *cobra.Command {
Run: addHandler,
}
cmd.Flags().StringP("title", "i", "", "Custom title for this bookmark.")
cmd.Flags().StringP("excerpt", "e", "", "Custom excerpt for this bookmark.")
cmd.Flags().StringSliceP("tags", "t", []string{}, "Comma-separated tags for this bookmark.")
cmd.Flags().BoolP("offline", "o", false, "Save bookmark without fetching data from internet.")
cmd.Flags().StringP("title", "i", "", "Custom title for this bookmark")
cmd.Flags().StringP("excerpt", "e", "", "Custom excerpt for this bookmark")
cmd.Flags().StringSliceP("tags", "t", []string{}, "Comma-separated tags for this bookmark")
cmd.Flags().BoolP("offline", "o", false, "Save bookmark without fetching data from internet")
return cmd
}

View file

@ -34,13 +34,13 @@ func updateCmd() *cobra.Command {
Run: updateHandler,
}
cmd.Flags().StringP("url", "u", "", "New URL for this bookmark.")
cmd.Flags().StringP("title", "i", "", "New title for this bookmark.")
cmd.Flags().StringP("excerpt", "e", "", "New excerpt for this bookmark.")
cmd.Flags().StringSliceP("tags", "t", []string{}, "Comma-separated tags for this bookmark.")
cmd.Flags().BoolP("offline", "o", false, "Update bookmark without fetching data from internet.")
cmd.Flags().StringP("url", "u", "", "New URL for this bookmark")
cmd.Flags().StringP("title", "i", "", "New title for this bookmark")
cmd.Flags().StringP("excerpt", "e", "", "New excerpt for this bookmark")
cmd.Flags().StringSliceP("tags", "t", []string{}, "Comma-separated tags for this bookmark")
cmd.Flags().BoolP("offline", "o", false, "Update bookmark without fetching data from internet")
cmd.Flags().BoolP("yes", "y", false, "Skip confirmation prompt and update ALL bookmarks")
cmd.Flags().Bool("dont-overwrite", false, "Don't overwrite existing metadata. Useful when only want to update bookmark's content.")
cmd.Flags().Bool("dont-overwrite", false, "Don't overwrite existing metadata. Useful when only want to update bookmark's content")
return cmd
}