nhoffman / argparse-bash

Use python's argparse module in shell scripts
MIT License
166 stars 27 forks source link

Argparse Action Version Not Supported #15

Open davidmargolis opened 4 years ago

davidmargolis commented 4 years ago

When I run my bash script with the version argument, e.g. parser.add_argument('--version', action='version', version='%(prog)s 1.0.0') I get the following error: ./argparse.bash: line 60: 0.1: command not found