diff --git a/.getopt.sh b/.getopt.sh index 073750f..96eedc6 100644 --- a/.getopt.sh +++ b/.getopt.sh @@ -5,6 +5,7 @@ # -v | --verbose # -D | --debug # -s | --salt +# -h | --help # --installer # --live # --variant @@ -14,5 +15,5 @@ # --no-clean # --clean -BUILD_OPTS_SHORT="d:pa:vDs" -BUILD_OPTS_LONG="distribution:,proposed-updates,arch:,verbose,debug,salt,installer,live,variant:,version:,subdir:,get-image-path,no-clean,clean" +BUILD_OPTS_SHORT="d:pa:vDsh" +BUILD_OPTS_LONG="distribution:,proposed-updates,arch:,verbose,debug,salt,installer,live,variant:,version:,subdir:,get-image-path,no-clean,clean,help" diff --git a/build.sh b/build.sh index e95a81d..8864700 100755 --- a/build.sh +++ b/build.sh @@ -124,6 +124,18 @@ clean() { run_and_log $SUDO rm -rf "$(pwd)/simple-cdd/debian-cd" } +print_help() { + echo "Usage: $0 [