Behave in a sane way in ZXing wrapper when user gives --help argument
This commit is contained in:
parent
1be6e7c60f
commit
b67bf6e038
@ -8,4 +8,11 @@ case "$choice" in
|
||||
decode | read | run | CommandLineRunner)
|
||||
zxing-cmdline-runner "$@";
|
||||
;;
|
||||
help | usage | --help | --usage | -h)
|
||||
zxing read;
|
||||
zxing write;
|
||||
;;
|
||||
*)
|
||||
zxing read "$choice" "$@"
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user