From 43e0a87a74d4b24e840da50d02d46db90aef1d3c Mon Sep 17 00:00:00 2001 From: Dmytro Katyukha Date: Thu, 9 Feb 2017 09:44:57 +0000 Subject: [PATCH] Updated capabilities data to new version --- capabilities-data | 2 +- src/escpos/cli.py | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/capabilities-data b/capabilities-data index b6220ee..fd207aa 160000 --- a/capabilities-data +++ b/capabilities-data @@ -1 +1 @@ -Subproject commit b6220ee5c55b166f06d45a97f230312805b743b1 +Subproject commit fd207aa9debc9671405226598a086b282f9f3ad5 diff --git a/src/escpos/cli.py b/src/escpos/cli.py index dad2dfb..665e3b8 100644 --- a/src/escpos/cli.py +++ b/src/escpos/cli.py @@ -100,6 +100,12 @@ ESCPOS_COMMANDS = [ 'option_strings': ('--content',), 'help': 'Text to print as a qr code', 'required': True, + }, + { + 'option_strings': ('--size',), + 'help': 'QR code size (1-16) [default:3]', + 'required': False, + 'type': int, } ], },