Open teto519f opened 5 months ago
Hey everybody While using argparse I stumbled upon an issue in the Usage section of subcommand help pages.
For example when typing git add --help the synopsis section starts like this: git add [ ...]
git add --help
git add [ ...]
When using argparse to simulate this (like in the example from your readme) the output would look like this: Usage: add [ ...]
Usage: add [ ...]
I think argparse should also print a "git" in front of the "add", so I implemented a quick fix for this.
Hey everybody While using argparse I stumbled upon an issue in the Usage section of subcommand help pages.
For example when typing
git add --help
the synopsis section starts like this:git add [ ...]
When using argparse to simulate this (like in the example from your readme) the output would look like this:
Usage: add [ ...]
I think argparse should also print a "git" in front of the "add", so I implemented a quick fix for this.