Skip to content

Commit 9f40aa9

Browse files
author
Matthias Wittgen
committed
Rename -R to -V
1 parent d239030 commit 9f40aa9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

bin/deploy

+5-5
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ usage() {
3434
# note that heredocs are prefixed with tab chars
3535
fail "$(cat <<-EOF
3636
37-
Usage: $0 [-h] [-r REF|-v VERSION|-x TAG] [-R VARIANT]
37+
Usage: $0 [-h] [-r REF|-v VERSION|-x TAG] [-V VARIANT]
3838
3939
Specific options:
4040
-v VERSION a specific version of rubin-env conda package.
4141
By default will use the version specified in etc/settings.cfg.sh
4242
-r REF git reference (SHA1) in scipipe_conda_env repository (backward compatibility)
4343
-x TAG eups tag to select the exact environment for that tag
44-
-R VARIANT install a specific rubin-env variant, like rubin-env-developer
44+
-V VARIANT install a specific rubin-env variant, like rubin-env-developer
4545
-h show this message
4646
4747
EOF
@@ -68,16 +68,16 @@ parse_args() {
6868
x)
6969
[[ -n $ENV_VERSION ]] && usage "Cannot specify both -x and -v"
7070
[[ -n $ENVREF ]] && usage "Cannot specify both -x and -r"
71-
[[ -n $ENV_NAME ]] && usage "Cannot specify both -x and -R"
71+
[[ -n $ENV_NAME ]] && usage "Cannot specify both -x and -V"
7272
TAG=${OPTARG}
7373
;;
7474
r)
7575
[[ -n $TAG ]] && usage "Cannot specify both -r and -x"
7676
[[ -n $ENV_VERSION ]] && usage "Cannot specify both -r and -v"
7777
ENVREF=${OPTARG}
7878
;;
79-
R)
80-
[[ -n $TAG ]] && usage "Cannot specify both -R and -x"
79+
V)
80+
[[ -n $TAG ]] && usage "Cannot specify both -V and -x"
8181
[[ "${OPTARG}" != rubin-env-* ]] && usage "VARIANT must start with rubin-env-"
8282
ENV_NAME=${OPTARG}
8383
;;

0 commit comments

Comments
 (0)