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