Change alignment of error message replacement suggestion

This commit is contained in:
João M. Bezerra 2021-11-02 06:30:59 -03:00
parent 21134aaeff
commit 5c0f24f567

View File

@ -79,7 +79,7 @@ pub fn run(args: Opts, question_policy: QuestionPolicy) -> crate::Result<()> {
.detail("The only supported formats that archive files into an archive are .tar and .zip.") .detail("The only supported formats that archive files into an archive are .tar and .zip.")
.hint(format!("Try inserting '.tar' or '.zip' before '{}'.", &formats[0])) .hint(format!("Try inserting '.tar' or '.zip' before '{}'.", &formats[0]))
.hint(format!("From: {}", output_path)) .hint(format!("From: {}", output_path))
.hint(format!(" To : {}", suggested_output_path)); .hint(format!("To: {}", suggested_output_path));
return Err(error.into()); return Err(error.into());
} }