Given the following structure, I thought it’d be useful to show the commands similarly in usage. However, this would make it rather odd & difficult when showing help for a single command (as opposed to a whole group), especially when the command doesn’t use one of the arguments. Would it hurt if it showed help for the whole group instead?
Single-day commands
--at
{SINGLE_DAY_ALIAS}
--category
show
add
--note
edit
Range commands
--from
--to
{RANGE_ALIAS}
--category
log
--[no-]pager
search
Category commands
--category[-name]
--category-description
add-category
set-category-description
rename-category
Arg-less commands
order-categories
list-categories
copy
--from
--to
--category
Stup-info commands
usage
{COMMAND}
--[no-]pager
version
--category (& given my other effort, later also --[no-]pager) could also be as a general argument, since only arg-less & stup-info commands don’t use it; what do you think about this? And what about the general idea of structuring the help?
Given the following structure, I thought it’d be useful to show the commands similarly in
usage. However, this would make it rather odd & difficult when showing help for a single command (as opposed to a whole group), especially when the command doesn’t use one of the arguments. Would it hurt if it showed help for the whole group instead?--category(& given my other effort, later also--[no-]pager) could also be as a general argument, since only arg-less & stup-info commands don’t use it; what do you think about this? And what about the general idea of structuring the help?