summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2019-06-05 14:38:53 +0200
committerLinus Färnstrand <linus@mullvad.net>2019-06-10 10:39:18 +0200
commitf787661693ca8a8a72e78b53c1a6d5df253944cb (patch)
treef8e895fb00a4bf0c0a5449e55344d551dc1e743c
parenta53f2bba58613da29023503eb70aabd824e8326a (diff)
downloadmullvadvpn-f787661693ca8a8a72e78b53c1a6d5df253944cb.tar.xz
mullvadvpn-f787661693ca8a8a72e78b53c1a6d5df253944cb.zip
Improve help text
-rw-r--r--mullvad-problem-report/src/main.rs10
1 files changed, 8 insertions, 2 deletions
diff --git a/mullvad-problem-report/src/main.rs b/mullvad-problem-report/src/main.rs
index 363fd0c9bc..868aadd2ef 100644
--- a/mullvad-problem-report/src/main.rs
+++ b/mullvad-problem-report/src/main.rs
@@ -199,7 +199,13 @@ fn run() -> Result<(), Error> {
let output_path = Path::new(collect_matches.value_of_os("output").unwrap());
collect_report(&extra_logs, output_path, redact_custom_strings)?;
- println!("Problem report written to \"{}\"", output_path.display());
+ let expanded_output_path = output_path
+ .canonicalize()
+ .unwrap_or_else(|_| output_path.to_owned());
+ println!(
+ "Problem report written to {}",
+ expanded_output_path.display()
+ );
println!("");
println!("Send the problem report to support via the send subcommand. See:");
println!(" $ {} send --help", env::args().next().unwrap());
@@ -426,7 +432,7 @@ impl ProblemReport {
},
));
self.logs.push((redacted_path, content));
- println!("Adding {} to report", expanded_path.display());
+ println!("Adding {}", expanded_path.display());
}
}