autoprogram: Couple bug fixes and some new options.

#112 Merged at 56a82f4
Repository
asoc
Branch
asoc/autoprogram
Repository
birkenfeld
Branch
default
Author
  1. Alex Honeywell
Reviewers
Description

Nice extension! I found a couple issues while working with it and decided to add a couple options that I used in my documentation.

  • Fixed crash when metavars is a tuple (ie. for nargs > 1)
  • Fixed usage string for subcommands (subcommands were previously showing
  • the top-level command usage).
  • Added new options to .. autoprogram::
    maxdepth, no_usage_codeblock, start_command, and strip_usage

Comments (3)