Interation
This commit is contained in:
parent
ede778b49a
commit
5eaf5c405d
@ -43,11 +43,19 @@ function main {
|
||||
-n | --nas-only)
|
||||
NASONLY=true
|
||||
;;
|
||||
-l | --lint)
|
||||
LINT=true
|
||||
;;
|
||||
*)
|
||||
OPERATION=$1
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
echo "\$@ is \"$@\""
|
||||
|
||||
echo "\$NASONLY is $NASONLY"
|
||||
echo "\$LINT is $LINT"
|
||||
echo "\$OPERATION is $OPERATION"
|
||||
}
|
||||
|
||||
main "$@"
|
Loading…
Reference in New Issue
Block a user