diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2019-10-09 16:23:16 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2019-10-09 16:50:06 +0200 |
| commit | d7fff16dc09089d4f45ff48288872ab4e63fde88 (patch) | |
| tree | 159524fd26d0469d7fe3652753f49b7a6a7fbb10 /mullvad-problem-report | |
| parent | 76f0d0e834b3bd5f8f1db5625233dd0fcffc6c03 (diff) | |
| download | mullvadvpn-d7fff16dc09089d4f45ff48288872ab4e63fde88.tar.xz mullvadvpn-d7fff16dc09089d4f45ff48288872ab4e63fde88.zip | |
Adapt to problem-report binary being called mullvad-problem-report
Diffstat (limited to 'mullvad-problem-report')
| -rw-r--r-- | mullvad-problem-report/Cargo.toml | 6 | ||||
| -rw-r--r-- | mullvad-problem-report/src/main.rs | 4 |
2 files changed, 3 insertions, 7 deletions
diff --git a/mullvad-problem-report/Cargo.toml b/mullvad-problem-report/Cargo.toml index b897961dbc..94d2c39466 100644 --- a/mullvad-problem-report/Cargo.toml +++ b/mullvad-problem-report/Cargo.toml @@ -13,10 +13,6 @@ description = "Collect Mullvad VPN logs into a report and send it to support" license = "GPL-3.0" edition = "2018" -[[bin]] -name = "problem-report" -path = "src/main.rs" - [dependencies] clap = "2.25" dirs = "2.0" @@ -50,4 +46,4 @@ ProductName = "Mullvad VPN" CompanyName = "Amagicom AB" LegalCopyright = "(c) 2018 Amagicom AB" InternalName = "mullvad-problem-report" -OriginalFilename = "problem-report.exe" +OriginalFilename = "mullvad-problem-report.exe" 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.") |
