argparse-bash
argparse-bash copied to clipboard
Argparse Action Version Not Supported
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