add self-contained and unified option parsing

This commit is contained in:
George Danchev
2011-07-08 10:32:22 +00:00
parent 0c8b8b86e5
commit 1466254129
2 changed files with 67 additions and 0 deletions

12
releng/inc/test_releng_getopt Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
set -e
. releng_getopts.inc
printf "\nRELENG_XORRISO =${RELENG_XORRISO}"
printf "\nKEEP =${KEEP}"
printf "\nSIMULATE_FAILURE =${SIMULATE_FAILURE}"
printf "\n"
exit 0