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 Mar 27, 2023
1 parent 6492802 commit 2d18cac
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 @@ -499,6 +499,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 2d18cac

Please sign in to comment.