From 13491c90c172096c9f3ad870d8e6ac4726720c88 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 28 Feb 2005 22:11:34 +0000 Subject: handle -v --- test/parse-edids | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'test') 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 -- cgit v1.2.1