switched to '--set' instead of '-S' flags for better readbility

This commit is contained in:
Brock A. Martin 2016-07-27 22:55:11 -05:00
parent 90e2c0992b
commit aa3d6a2f77

View file

@ -43,7 +43,7 @@ for img in "$@"; do
fi fi
asc_key="${tmp_file}.${index}" asc_key="${tmp_file}.${index}"
echo "decoding ${img}" 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 if [ $? -ne 0 ]; then
echo "failed to decode QR image" echo "failed to decode QR image"
exit 2 exit 2