Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

conflictHandler 'resolve' error #46

Closed
hpaulj opened this Issue · 2 comments

2 participants

@hpaulj

For the new 'resolve' case in base.js, parser.formatHelp() produces

usage: _mocha [-h] [--foo FOO] [--foo FOO]
Optional arguments:
  --foo FOO  new foo

That is, [-foo FOO] appears twice in usage, and the usual -h, --help Show ... line is missing.

The help message should be

usage: _mocha [-h] [--foo FOO]
Optional arguments:
  -h, --help  Show this help message and exit.
  --foo FOO  new foo
@hpaulj

My https://github.com/hpaulj/argparse/tree/conflictHandler branch is closer to the python code in structure and behavior. It should be read to pull soon.

@puzrin
Owner

No problems.Will be waiting for your pull request. Thanks a lot for your efforts.

@puzrin puzrin closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.