some tweaks for configRun: add -h/--usage option, use portable print instead of echo \c, etc.
This commit is contained in:
committed by
Jon Trulson
parent
7153a0e3e2
commit
2b8bd0743b
@@ -3,7 +3,7 @@ HandleOption()
|
||||
while [ $# -ne 0 ]; do
|
||||
case $1 in
|
||||
-e) OPERATION="configure"
|
||||
shift;
|
||||
shift;
|
||||
;;
|
||||
-d) OPERATION="deconfigure"
|
||||
shift;
|
||||
@@ -14,6 +14,12 @@ HandleOption()
|
||||
-s) OPERATION="size"
|
||||
shift;
|
||||
;;
|
||||
-h | --help | --usage) OPERATION="usage"
|
||||
shift;
|
||||
;;
|
||||
*) OPERATION="usage"
|
||||
shift;
|
||||
;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user