Add usage

This commit is contained in:
davisgoglin 2016-03-12 17:03:02 -08:00 committed by Davis Goglin
parent d523b4d342
commit 28be6a2041
1 changed files with 2 additions and 1 deletions

View File

@ -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',