Skip to content

Commit

Permalink
#2086: args: make --vt_lb_name and --vt_lb_file_name mutually exclusive
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Feb 9, 2023
1 parent 5444a54 commit 2ed2c40
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vt/configs/arguments/args.cc
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,10 @@ void addLbArgs(CLI::App& app, AppConfig& appConfig) {
auto lbspec = app.add_flag("--vt_lb_spec", appConfig.vt_lb_spec, lb_spec);
auto lbspecfile = app.add_option("--vt_lb_spec_file", appConfig.vt_lb_spec_file, lb_spec_file)->capture_default_str()->check(CLI::ExistingFile);

// --vt_lb_name excludes --vt_lb_file_name, and vice versa
v->excludes(u);
u->excludes(v);

auto debugLB = "Load Balancing";
s->group(debugLB);
t1->group(debugLB);
Expand Down

0 comments on commit 2ed2c40

Please sign in to comment.