summaryrefslogtreecommitdiffhomepage
path: root/mullvad-problem-report/src
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2019-10-09 16:23:16 +0200
committerLinus Färnstrand <linus@mullvad.net>2019-10-09 16:50:06 +0200
commitd7fff16dc09089d4f45ff48288872ab4e63fde88 (patch)
tree159524fd26d0469d7fe3652753f49b7a6a7fbb10 /mullvad-problem-report/src
parent76f0d0e834b3bd5f8f1db5625233dd0fcffc6c03 (diff)
downloadmullvadvpn-d7fff16dc09089d4f45ff48288872ab4e63fde88.tar.xz
mullvadvpn-d7fff16dc09089d4f45ff48288872ab4e63fde88.zip
Adapt to problem-report binary being called mullvad-problem-report
Diffstat (limited to 'mullvad-problem-report/src')
-rw-r--r--mullvad-problem-report/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mullvad-problem-report/src/main.rs b/mullvad-problem-report/src/main.rs
index 4ca52967bf..7703e98adc 100644
--- a/mullvad-problem-report/src/main.rs
+++ b/mullvad-problem-report/src/main.rs
@@ -8,7 +8,7 @@
#![deny(rust_2018_idioms)]
-use clap::crate_authors;
+use clap::{crate_authors, crate_name};
use mullvad_problem_report::{collect_report, metadata, send_problem_report, Error};
use std::{env, path::Path, process};
use talpid_types::ErrorExt;
@@ -26,7 +26,7 @@ fn main() {
fn run() -> Result<(), Error> {
env_logger::init();
- let app = clap::App::new("problem-report")
+ let app = clap::App::new(crate_name!())
.version(metadata::PRODUCT_VERSION)
.author(crate_authors!())
.about("Mullvad VPN problem report tool. Collects logs and sends them to Mullvad support.")