diff --git a/bin/AsaruSim.py b/bin/AsaruSim.py index 8eda900..ed1b1ab 100644 --- a/bin/AsaruSim.py +++ b/bin/AsaruSim.py @@ -7,13 +7,14 @@ def setup_parent_parser(): parent_parser = argparse.ArgumentParser(add_help=False) parent_parser.add_argument('--debug', action='store_true', help='Enable debug mode') - parent_parser.add_argument('--version', action='version', version=version.__version__) return parent_parser def main(): parent_parser = setup_parent_parser() + main_parser = argparse.ArgumentParser() + main_parser.add_argument('--version', action='version', version=version.__version__) subparsers = main_parser.add_subparsers(title="command", dest="command", required=True)