You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
read -r -d '' __usage <<-'EOF' || true # exits non-zero when EOF encountered -s --subject [arg] Specific subject files to process. -v --verbose Enable verbose mode for all scripts. -d --debug Enables debug mode. -h --help This help page. -n --dry-run Don't submit any jobs. -r --reg-command [arg] Provide an alternative registration command. Default="mb_register.sh" -f --factor [arg] Scaling factor for time and memory estimates. Default="1.15"EOFread -r -d '' __helptext <<-'EOF' || true # exits non-zero when EOF encountered MAGeTBrain implementation using ANTs Supports MINC and NIFTI input files (ANTs must be built with MINC support) Invocation: mb.sh [options] -- [stage 1] [stage 2] ... [stage N] Standard stages: template, subject, resample, vote, run (template, subject, resample, vote) Multiatlas stages: multiatlas-resample, multiatlas-vote, multiatlas (template, multiatlas-resample, multiatlas-vote) Other stages: init, status, cleanup Multiple commands will run multiple stages. Order is not checked.EOF
User tried to do:
$ mb.sh --template
#Instead of
$ mb.sh -- template
There was no error thrown for the invalid command-line option "--template"
The text was updated successfully, but these errors were encountered:
Yes, I think Open coarrays build script passed arguments to other scripts, only some of which are actually consumed. Been meaning to add an opt-in check for invalid flags.
Example:
User tried to do:
There was no error thrown for the invalid command-line option "--template"
The text was updated successfully, but these errors were encountered: