You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

27 lines
509 B

from config import Config as Conf
def arg_debug(parser):
parser.add_argument(
"-d",
"--debug",
action="store_true",
help="Enable log debug mod."
)
def arg_help(parser):
parser.add_argument(
'-h',
'--help',
action='help',
help='Show this help message and exit.'
)
def arg_version(parser):
parser.add_argument(
"-v",
"--version",
action='version', version='%(prog)s {}'.format(Conf.version)
)