Closed kevinmitch14 closed 7 months ago
When running turso db create -h, the description for --type repeats the default value of "regular". Removed this from the usage string so it now just uses the default value from cmd.Flags().StringVar()
turso db create -h
--type
cmd.Flags().StringVar()
cmd.Flags().StringVar(&typeFlag, "type", "regular", "...")
Before:
Flags: --type string Type of the database to create. Possible values: regular, schema. Default: regular. (default "regular")
After:
Flags: --type string Type of the database to create. Possible values: regular, schema. (default "regular")
EDIT: Noticed this was also the case in --csv-separator so changed that too.
--csv-separator
Flags: --csv-separator string CSV separator character. Must be a single character. Defaults to ',' (default ",")
Flags: --csv-separator string CSV separator character. Must be a single character. (default ",")
When running
turso db create -h
, the description for--type
repeats the default value of "regular". Removed this from the usage string so it now just uses the default value fromcmd.Flags().StringVar()
Before:
After:
EDIT: Noticed this was also the case in
--csv-separator
so changed that too.Before:
After: