diff --git a/src/main.rs b/src/main.rs index 6dc3ea6c3e..6efd6bb882 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,7 +1,7 @@ use clap::{App, Arg, ArgMatches, SubCommand}; use std::process; -mod clients; +pub mod clients; mod commands; mod identity; mod persistence; @@ -48,6 +48,11 @@ fn main() { .takes_value(true) .required(true), ) + .arg(Arg::with_name("local") + .long("local") + .help("Flag to indicate whether the client is expected to run on the local deployment.") + .takes_value(false) + ) ) .subcommand( SubCommand::with_name("websocket") @@ -60,6 +65,11 @@ fn main() { .takes_value(true) .required(true), ) + .arg(Arg::with_name("local") + .long("local") + .help("Flag to indicate whether the client is expected to run on the local deployment.") + .takes_value(false) + ) ) .get_matches();