diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in index 7787e757c..87886f59e 100644 --- a/templates/lxc-alpine.in +++ b/templates/lxc-alpine.in @@ -119,7 +119,10 @@ die() { } usage() { - echo "Usage: $(basename $0) [-h|--help] -p|--path -n|--name " >&2 + cat >&2 <] + -p|--path -n|--name +EOF } usage_err() { @@ -153,6 +156,11 @@ while [ $# -gt 0 ]; do path=$1 shift ;; + -r|--repository) + optarg_check $opt "$1" + repository=$1 + shift + ;; --) break;; --*=*)