Skip to content

Argparse Action Version Not Supported #15

@davidmargolis

Description

@davidmargolis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions