From 28be6a204103645140205f42329925e18f327698 Mon Sep 17 00:00:00 2001 From: davisgoglin Date: Sat, 12 Mar 2016 17:03:02 -0800 Subject: [PATCH] Add usage --- escpos/cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/escpos/cli.py b/escpos/cli.py index d2cb756..fa50f0a 100755 --- a/escpos/cli.py +++ b/escpos/cli.py @@ -10,7 +10,8 @@ from escpos import constants parser = argparse.ArgumentParser( 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( title='Destination',