cli: use prog variable

This commit is contained in:
Robert Jördens 2021-03-03 10:00:44 +01:00
parent 4652dd4311
commit b49461448c

View File

@ -84,7 +84,7 @@ def main():
parser = argparse.ArgumentParser(
description='Miniconf command line interface.',
epilog='''Example:
miniconf.py -v -b mqtt dt/sinara/stabilizer afe/0 '"G10"'
%(prog)s -v -b mqtt dt/sinara/stabilizer afe/0 '"G10"'
''')
parser.add_argument('-v', '--verbose', action='count',
help='Increase logging verbosity')