diff options
author | Helmut Grohne <helmut@subdivi.de> | 2022-12-28 10:06:49 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2022-12-28 10:06:49 +0100 |
commit | b666a2909890a7954b103388ec846cac8ce55722 (patch) | |
tree | 2e22d8d643989f7ad1c4b21a2373b9225d1bdee6 | |
parent | 85c2b4d28d66bad39ef8989b313dab3d1356429f (diff) | |
download | debvm-b666a2909890a7954b103388ec846cac8ce55722.tar.gz |
debvm-create: rename -s option to -z
The idea is to eventually add a mechanism for skipping steps similar to
how mmdebstrap allows skipping them.
-rwxr-xr-x | debvm-create | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/debvm-create b/debvm-create index 2362beb..cddab8f 100755 --- a/debvm-create +++ b/debvm-create @@ -25,7 +25,7 @@ die() { exit 1 } usage() { - die "usage: $0 [-a architecture] [-h hostname] [-k sshkey] [-m mirror] [-o output] [-p packages] [-r release] [-s size_in_GB] [-- mmdebstrap options]" + die "usage: $0 [-a architecture] [-h hostname] [-k sshkey] [-m mirror] [-o output] [-p packages] [-r release] [-z size_in_GB] [-- mmdebstrap options]" } usage_error() { echo "error: $*" 1>&2 @@ -57,7 +57,7 @@ opt_size() { SIZE=$(($1*1024*1024*1024)) } -while getopts :a:h:k:m:o:p:r:s:-: OPTCHAR; do +while getopts :a:h:k:m:o:p:r:z:-: OPTCHAR; do case "$OPTCHAR" in a) opt_architecture "$OPTARG" ;; h) opt_hostname "$OPTARG" ;; @@ -66,7 +66,7 @@ while getopts :a:h:k:m:o:p:r:s:-: OPTCHAR; do o) opt_output "$OPTARG" ;; p) opt_package "$OPTARG" ;; r) opt_release "$OPTARG" ;; - s) opt_size "$OPTARG" ;; + z) opt_size "$OPTARG" ;; -) case "$OPTARG" in help) |