Skip to content

Commit

Permalink
Address comments from Dustin
Browse files Browse the repository at this point in the history
  • Loading branch information
mkavulich committed Aug 14, 2024
1 parent 41bfbbb commit 0e51f53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion scm/doc/TechGuide/chap_quick.rst
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,6 @@ To see the full list of available options, use the ``--help`` flag:
The run script’s full set of options are described below, where optional abbreviations are included in brackets.
If using the main branch, you should run the above command to ensure you have the most up-to-date list of options.
There are no required arguments, but at least one of ``--case`` or ``--file`` must be specified.

- ``--case [-c]``

Expand Down
3 changes: 3 additions & 0 deletions scm/src/run_scm.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ def parse_arguments():
mpi_command = args.mpi_command
stop_on_error = args.stop_on_error

if not case and not file:
parser.error('Either "--case" or "--file" must be specified. Use "--help" for more information.')

if not sdf:
sdf = DEFAULT_SUITE

Expand Down

0 comments on commit 0e51f53

Please sign in to comment.