Add usage
This commit is contained in:
parent
d523b4d342
commit
28be6a2041
|
@ -10,7 +10,8 @@ from escpos import constants
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
description='CLI for python-escpos',
|
description='CLI for python-escpos',
|
||||||
epilog='To see help for escpos commands, run with a destination defined.'
|
epilog='To see help for escpos commands, run with a destination defined.',
|
||||||
|
usage='python -m escpos.cli destination_type [--args] command [--args]'
|
||||||
)
|
)
|
||||||
dest_subparsers = parser.add_subparsers(
|
dest_subparsers = parser.add_subparsers(
|
||||||
title='Destination',
|
title='Destination',
|
||||||
|
|
Loading…
Reference in New Issue