File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -34,14 +34,14 @@ usage() {
34
34
# note that heredocs are prefixed with tab chars
35
35
fail " $( cat << -EOF
36
36
37
- Usage: $0 [-h] [-r REF|-v VERSION|-x TAG] [-R VARIANT]
37
+ Usage: $0 [-h] [-r REF|-v VERSION|-x TAG] [-V VARIANT]
38
38
39
39
Specific options:
40
40
-v VERSION a specific version of rubin-env conda package.
41
41
By default will use the version specified in etc/settings.cfg.sh
42
42
-r REF git reference (SHA1) in scipipe_conda_env repository (backward compatibility)
43
43
-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
45
45
-h show this message
46
46
47
47
EOF
@@ -68,16 +68,16 @@ parse_args() {
68
68
x)
69
69
[[ -n $ENV_VERSION ]] && usage " Cannot specify both -x and -v"
70
70
[[ -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 "
72
72
TAG=${OPTARG}
73
73
;;
74
74
r)
75
75
[[ -n $TAG ]] && usage " Cannot specify both -r and -x"
76
76
[[ -n $ENV_VERSION ]] && usage " Cannot specify both -r and -v"
77
77
ENVREF=${OPTARG}
78
78
;;
79
- R )
80
- [[ -n $TAG ]] && usage " Cannot specify both -R and -x"
79
+ V )
80
+ [[ -n $TAG ]] && usage " Cannot specify both -V and -x"
81
81
[[ " ${OPTARG} " != rubin-env-* ]] && usage " VARIANT must start with rubin-env-"
82
82
ENV_NAME=${OPTARG}
83
83
;;
You can’t perform that action at this time.
0 commit comments