File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -113,14 +113,14 @@ display_help() {
113113 echo " when a directory is provided, the format of the"
114114 echo " tarball's name will be {REPO_ID}-{TIMESTAMP}.tgz"
115115 echo " [default: not set]"
116+ echo " -S | --sandbox - use sandbox mode (i.e. convert .sif image to sandbox and then run"
117+ echo " it instead)"
118+ echo " [default: not set]"
116119 echo " -v | --verbose - display more information [default: false]"
117120 echo " -x | --http-proxy URL - provides URL for the env variable http_proxy"
118121 echo " [default: not set]; uses env var \$ http_proxy if set"
119122 echo " -y | --https-proxy URL - provides URL for the env variable https_proxy"
120123 echo " [default: not set]; uses env var \$ https_proxy if set"
121- echo " --sandbox - use sandbox mode (i.e. convert .sif image to sandbox and then run"
122- echo " it instead"
123- echo " [default: not set]"
124124 echo
125125 echo " If value for --mode is 'exec' or 'run', the SCRIPT/COMMAND provided is executed. If"
126126 echo " arguments to the script/command start with '-' or '--', use the flag terminator"
@@ -278,6 +278,10 @@ while [[ $# -gt 0 ]]; do
278278 SAVE=" $2 "
279279 shift 2
280280 ;;
281+ -S|--sandbox)
282+ SANDBOX=1
283+ shift 1
284+ ;;
281285 -u|--resume)
282286 RESUME=" $2 "
283287 shift 2
@@ -296,10 +300,6 @@ while [[ $# -gt 0 ]]; do
296300 export https_proxy=${HTTPS_PROXY}
297301 shift 2
298302 ;;
299- --sandbox)
300- SANDBOX=1
301- shift 1
302- ;;
303303 --)
304304 shift
305305 POSITIONAL_ARGS+=(" $@ " ) # save positional args
You can’t perform that action at this time.
0 commit comments