Closed fsundermeyer closed 9 years ago
@fsundermeyer Thanks Frank for the report!
I'm not sure if it is possible to add your "general usage" line into our argparse parser. The closest what we can get is this:
$ docmanager -h
usage: docmanager [-h] [--version] [-v] [--langlist]
{init,i,get,g,set,s,del,d,query,q,analyze} ...
and with a subcommand:
$ docmanager get -h
usage: docmanager get [-h] [-p PROPERTIES] [-f {table,json}] FILE [FILE ...]
tomschr: Your suggested solution looks fine to me!
As discussed with @tomschr, we can close it here.
The output of
is not only strangely formatted, but also has one "FILE [FILE ...]" to much. Suggested correction:
Also applies to all other subcommands.