From aa3d6a2f775d090953c466426f6d3e5fcedec64f Mon Sep 17 00:00:00 2001 From: "Brock A. Martin" Date: Wed, 27 Jul 2016 22:55:11 -0500 Subject: [PATCH] switched to '--set' instead of '-S' flags for better readbility --- qr2asc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qr2asc.sh b/qr2asc.sh index 8c898cb..43f27ff 100755 --- a/qr2asc.sh +++ b/qr2asc.sh @@ -43,7 +43,7 @@ for img in "$@"; do fi asc_key="${tmp_file}.${index}" echo "decoding ${img}" - chunk=$( zbarimg --raw -Sdisable -Sqrcode.enable ${img} 2>/dev/null ) + chunk=$( zbarimg --raw --set disable --set qrcode.enable ${img} 2>/dev/null ) if [ $? -ne 0 ]; then echo "failed to decode QR image" exit 2