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