From 346fa1aae1402afee1471e0c27d7176de4cfbe8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20Mrv=C3=ADk?= Date: Tue, 26 May 2020 17:14:10 +0200 Subject: [PATCH] Imperfections in README.md --- README.md | 2 -- bin/qrcode | 12 ++++++------ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 448f6646..510e6b9f 100644 --- a/README.md +++ b/README.md @@ -61,8 +61,6 @@ Renderer options: -q, --qzone Quiet zone size [number] -l, --lightcolor Light RGBA hex color -d, --darkcolor Dark RGBA hex color - -Terminal options: --small Output smaller QR code to terminal [boolean] Options: diff --git a/bin/qrcode b/bin/qrcode index 388a2a16..dd990b63 100755 --- a/bin/qrcode +++ b/bin/qrcode @@ -84,12 +84,6 @@ var argv = yargs implies: 'output', group: 'Renderer options:' }) - .option('small', { - type: 'boolean', - description: 'Output smaller QR code to terminal', - conflicts: 'type', - group: 'Renderer options:' - }) .option('i', { alias: 'inverse', type: 'boolean', @@ -126,6 +120,12 @@ var argv = yargs description: 'Dark RGBA hex color', group: 'Renderer options:' }) + .option('small', { + type: 'boolean', + description: 'Output smaller QR code to terminal', + conflicts: 'type', + group: 'Renderer options:' + }) .option('o', { alias: 'output', description: 'Output file'