cli: use prog variable
This commit is contained in:
parent
4652dd4311
commit
b49461448c
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue