diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2020-08-14 15:59:10 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2020-08-14 15:59:10 +0200 |
| commit | 0790f025602d784d3f4cb42beb1b2c82ed91d341 (patch) | |
| tree | 2b41844d780f7baf0fb6cda18c1cdaf921dd7956 /mullvad-daemon/src | |
| parent | d94f70ec81d291b5d8d348c40058e25e81e07562 (diff) | |
| download | mullvadvpn-0790f025602d784d3f4cb42beb1b2c82ed91d341.tar.xz mullvadvpn-0790f025602d784d3f4cb42beb1b2c82ed91d341.zip | |
Upgrade clap to 2.33.3 and remove deprecated warning hack
Diffstat (limited to 'mullvad-daemon/src')
| -rw-r--r-- | mullvad-daemon/src/cli.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/mullvad-daemon/src/cli.rs b/mullvad-daemon/src/cli.rs index 870b15a624..4abf8eb44c 100644 --- a/mullvad-daemon/src/cli.rs +++ b/mullvad-daemon/src/cli.rs @@ -66,6 +66,7 @@ lazy_static::lazy_static! { fn create_app() -> App<'static, 'static> { let mut app = App::new(crate_name!()) .version(version::PRODUCT_VERSION) + .author(crate_authors!(", ")) .about(crate_description!()) .after_help(ENV_DESC.as_str()) .arg( @@ -84,11 +85,6 @@ fn create_app() -> App<'static, 'static> { .long("disable-stdout-timestamps") .help("Don't log timestamps when logging to stdout, useful when running as a systemd service") ); - // A workaround since clap 2 will not fix the deprecation warnings in this macro. - #[allow(deprecated)] - { - app = app.author(crate_authors!(", ")); - } if cfg!(windows) { app = app.arg( |
