import argparse __all__ = ['Args'] parser = argparse.ArgumentParser(description='Voctogui') parser.add_argument('-v', '--verbose', action='count', default=0, help="Also print INFO and DEBUG messages.") parser.add_argument('-c', '--color', action='store', choices=['auto', 'always', 'never'], default='auto', help="Control the use of colors in the Log-Output") parser.add_argument('-t', '--timestamp', action='store_true', help="Enable timestamps in the Log-Output") parser.add_argument('-i', '--ini-file', action='store', help="Load a custom config.ini-File") parser.add_argument('-u', '--ui-file', action='store', help="Load a custom .ui-File") parser.add_argument('-H', '--host', action='store', help="Connect to this host instead of the configured one.") Args = parser.parse_args()