Skip to content

Commit

Permalink
Rename --show-data-files to --show-data-params
Browse files Browse the repository at this point in the history
  • Loading branch information
loganharbour committed Nov 28, 2024
1 parent 746e132 commit e3a0d97
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ search only searches relative to the installed or in-tree registered data file d

You can output additional information about the data files with the following comamnd line arguments:

- `--show-data-files`: Output the file paths that were found in the search for all `DataFileName` parameters in the header
- `--show-data-params`: Output the paths found for all DataFileName parameters in the header
- `--show-data-paths`: Output the registered file paths for searching in the header
4 changes: 2 additions & 2 deletions framework/src/base/MooseApp.C
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,8 @@ MooseApp::validParams()
#endif

params.addCommandLineParam<bool>(
"show_data_files",
"--show-data-files",
"show_data_params",
"--show-data-params",
false,
"Show found paths for all DataFileName parameters in the header");
params.addCommandLineParam<bool>("show_data_paths",
Expand Down
2 changes: 1 addition & 1 deletion framework/src/outputs/Console.C
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ Console::outputSystemInformation()
if (_app.getParam<bool>("show_data_paths"))
_console << ConsoleUtils::outputDataFilePaths();

if (_app.getParam<bool>("show_data_files"))
if (_app.getParam<bool>("show_data_params"))
_console << ConsoleUtils::outputDataFileParams(_app);

if (_system_info_flags.isValueSet("output"))
Expand Down
4 changes: 2 additions & 2 deletions test/tests/misc/data_file_name/tests
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@
expect_out = 'data_file_name_by_name_relative="(.*)/data/README.md"'
requirement = 'The system shall be to find data files in designated directories by relative path using the deprecated interface'
[]
[show_data_files]
[show_data_params]
type = RunApp
input = test.i
cli_args = 'UserObjects/data_file/data_file=README.md --show-data-files'
cli_args = 'UserObjects/data_file/data_file=README.md --show-data-params'
expect_out = 'UserObjects/data_file/data_file = (.*)framework/data/README.md'
installation_type = in_tree
requirement = 'The system shall support the output of all consumed data files via a parameter in designated data directories'
Expand Down

0 comments on commit e3a0d97

Please sign in to comment.