diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2018-11-14 11:17:21 +0100 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-11-14 11:17:21 +0100 |
| commit | 8a6bae399969ebd57be39ba502630120983fc995 (patch) | |
| tree | 6fbc01288d4015707d323f6b6f2781f332a8a69e | |
| parent | b4e404b92629956a7f1a31060a1db008f430ebec (diff) | |
| parent | c60055d0c868bea27c0bf9ababa82be53e444e6e (diff) | |
| download | mullvadvpn-8a6bae399969ebd57be39ba502630120983fc995.tar.xz mullvadvpn-8a6bae399969ebd57be39ba502630120983fc995.zip | |
Merge branch 'update-cli-help'
| -rw-r--r-- | mullvad-daemon/src/cli.rs | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/mullvad-daemon/src/cli.rs b/mullvad-daemon/src/cli.rs index 9df4ceb509..42f7ca9c2e 100644 --- a/mullvad-daemon/src/cli.rs +++ b/mullvad-daemon/src/cli.rs @@ -38,13 +38,23 @@ pub fn get_config() -> Config { fn create_app() -> App<'static, 'static> { let app = App::new(crate_name!()) .version(version::PRODUCT_VERSION) - .author(crate_authors!()) + .author(crate_authors!(", ")) .about(crate_description!()) + .after_help( +"ENV: + + MULLVAD_RESOURCE_DIR Resource directory (i.e used to locate a root CA certificate) + MULLVAD_SETTINGS_DIR Directory path for storing settings + MULLVAD_CACHE_DIR Directory path for storing cache + MULLVAD_RPC_SOCKET_PATH Location of the management interface device. + It refers to Unix domain socket on Unix based platforms, and named pipe on Windows + +") .arg( Arg::with_name("v") .short("v") .multiple(true) - .help("Sets the level of verbosity."), + .help("Sets the level of verbosity"), ) .arg( Arg::with_name("disable_log_to_file") |
