Skip to content

Commit

Permalink
more specific usage error message
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasticrabbit committed Dec 21, 2021
1 parent 8d7bbfb commit 49d00ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/getlists.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var listsCmd = &cobra.Command{
Long: `Request JSON data for all lists by folder ID`,
Args: func(cmd *cobra.Command, args []string) error {
if len(args) != 1 {
return errors.New("incorrect number of arguments")
return errors.New("requires the folder-id argument")
}
return nil
},
Expand Down

0 comments on commit 49d00ee

Please sign in to comment.