diff options
Diffstat (limited to 'test/parse-edids')
-rwxr-xr-x | test/parse-edids | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/parse-edids b/test/parse-edids index a799cf8..1635009 100755 --- a/test/parse-edids +++ b/test/parse-edids @@ -1,13 +1,16 @@ #!/bin/sh -opt_perl="" +if [ "$1" = -v ]; then + opt_v="$1" + shift +fi if [ "$1" = --perl ]; then - opt_perl=--perl + opt_perl="$1" shift fi for i in $*; do echo "File: $i" - ../monitor-parse-edid $opt_perl $i + ../monitor-parse-edid $opt_v $opt_perl $i perl -le 'print "#" x 80' done |