summary refs log tree commit diff
path: root/pkgs/tools/graphics/zxing/zxing.sh
blob: ca6ac60bab694638ba203749902490e607a0d9ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/sh
choice="$1";
shift
case "$choice" in
	encode | create | write | CommandLineEncoder)
		zxing-cmdline-encoder "$@";
		;;
	decode | read | run | CommandLineRunner)
		zxing-cmdline-runner "$@";
		;;
	help | usage | --help | --usage | -h)
		zxing read;
		zxing write;
		;;
	*)
		zxing read "$choice" "$@"
		;;
esac