cli: use prog variable

This commit is contained in:
Robert Jördens 2021-03-03 10:00:44 +01:00
parent 4652dd4311
commit b49461448c
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ def main():
parser = argparse.ArgumentParser( parser = argparse.ArgumentParser(
description='Miniconf command line interface.', description='Miniconf command line interface.',
epilog='''Example: 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', parser.add_argument('-v', '--verbose', action='count',
help='Increase logging verbosity') help='Increase logging verbosity')