diff --git a/.getopt.sh b/.getopt.sh index 8e7cbc9..3c2940f 100644 --- a/.getopt.sh +++ b/.getopt.sh @@ -5,7 +5,9 @@ # --subdir # --version # --variant +# --installer +# --no-clean # -v | --verbose # -s | --salt BUILD_OPTS_SHORT="d:pa:vs" -BUILD_OPTS_LONG="distribution:,proposed-updates,arch:,subdir:,version:,variant:,verbose,salt" +BUILD_OPTS_LONG="distribution:,proposed-updates,arch:,subdir:,version:,variant:,verbose,salt,installer,no-clean" diff --git a/build.sh b/build.sh index 777a802..c826151 100755 --- a/build.sh +++ b/build.sh @@ -100,7 +100,7 @@ run_and_log() { . $(dirname $0)/.getopt.sh # Parsing command line options -temp=$(getopt -o "$BUILD_OPTS_SHORT" -l "$BUILD_OPTS_LONG,get-image-path,installer,no-clean" -- "$@") +temp=$(getopt -o "$BUILD_OPTS_SHORT" -l "$BUILD_OPTS_LONG,get-image-path" -- "$@") eval set -- "$temp" while true; do case "$1" in