Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
options = parser.add_argument_group('Options')
options.add_argument(
"-h", "--help",
help="Show this help message, then exit.",
action="help"
)
options.add_argument(
"--version",
help="Print the version number, then exit.",
action="store_true",
dest="version",
default=False
)
argument_parser_setup(parser, options)
return parser