Adding forgotten handling of default case.

This commit is contained in:
Daniel Baumann 2007-09-23 13:59:18 +02:00
parent 9f59f16c7c
commit 04f8e669b4
1 changed files with 9 additions and 2 deletions

View File

@ -35,7 +35,14 @@ Set_defaults
rm -f .lock
for ARGUMENT in ${@}
if [ -z "${@}" ]
then
ARGUMENTS="all"
else
ARGUMENTS="${@}"
fi
for ARGUMENT in ${ARGUMENTS}
do
case "${ARGUMENT}" in
all)
@ -99,7 +106,7 @@ do
;;
*)
"${0}" all
"${0}" --usage
;;
esac
done