Skip to content

Commit 19906a4

Browse files
Merge pull request #3897 from CliMA/ne/config
Support multiple config files from the CLI
2 parents 5557f30 + 3803e4a commit 19906a4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/solver/cli_options.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ function argparse_settings()
44
s = ArgParse.ArgParseSettings()
55
ArgParse.@add_arg_table! s begin
66
"--config_file"
7-
help = "A yaml file used to set model configurations"
7+
help = "A yaml file used to set model configurations. If this is called multiple times, all config files will be merged."
8+
action = :append_arg
89
arg_type = String
9-
default = default_config_file
10+
default = [default_config_file]
1011
"--job_id"
1112
help = "A unique job identifier, among all possible (parallel) running jobs."
1213
arg_type = String

0 commit comments

Comments
 (0)