Command Line Option Parsing

Issue #1 new
Anonymous created an issue

The bug exists just after the command line args are parsed. The if statement reads, {{{


if not args: parser.print_usage() }}}

The args variable should contain the list of positional arguments leftover after parsing options however in this case, there are no remaining arguments after parsing options. Therefore if the command line is provided exactly as in the documentation, args will be [] and the usage will be printed.

A workaround is simply to add an extra arg at the end of the command line,

jacqui -t my_theme.json -b my_bundle.json -o a

Comments (0)

  1. Log in to comment