aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-02-28 22:11:34 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-02-28 22:11:34 +0000
commit13491c90c172096c9f3ad870d8e6ac4726720c88 (patch)
tree0b3a2787a49982dd7fcdcc9a38a7120438b96176
parent90253b3edec917fb8be9327dbe413e3ed0f6bf75 (diff)
downloadmonitor-edid-13491c90c172096c9f3ad870d8e6ac4726720c88.tar
monitor-edid-13491c90c172096c9f3ad870d8e6ac4726720c88.tar.gz
monitor-edid-13491c90c172096c9f3ad870d8e6ac4726720c88.tar.bz2
monitor-edid-13491c90c172096c9f3ad870d8e6ac4726720c88.tar.xz
monitor-edid-13491c90c172096c9f3ad870d8e6ac4726720c88.zip
handle -v
-rwxr-xr-xtest/parse-edids9
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