We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
According to the following line in examples/git/git.py
examples/git/git.py
elif args['<command>'] in ['help', None]:
running ./git.py should give the same message as running ./git.py help. But it gives only the usage message instead.
./git.py
./git.py help
Also, the line
See 'git help <command>' for more information on a specific command.
in the description does not work as expected.
The text was updated successfully, but these errors were encountered:
I've been puzzled by this as well.
$ ./git.py help 2>&1 | wc -l 36 $ ./git.py 2>&1 | wc -l 5 $ ./git.py --help 2>&1 | wc -l 21
The first two (['help', None]) should map to the last one (--help), but all three give widely different outputs.
['help', None]
--help
@gtarabat The last line (See 'git help ... for more information on a specific command.) is printed when you set help=True and run ./git.py --help:
help=True
./git.py --help
args = docopt(__doc__, version='git version 1.7.4.4', help=True, options_first=True)
Sorry, something went wrong.
@beierman help=True is the default value. The list line is printed as expected when I run ./git.py --help.
What I mean with the last line is that running git help <command> does not give the help message for the <command>.
git help <command>
<command>
No branches or pull requests
According to the following line in
examples/git/git.py
running
./git.py
should give the same message as running./git.py help
. But it gives only the usage message instead.Also, the line
in the description does not work as expected.
The text was updated successfully, but these errors were encountered: