Skip to content

Commit

Permalink
fix(Interact): Do not drop last line of help
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome committed Apr 5, 2021
1 parent b5278e1 commit c13824b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/src/interact.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ pub async fn run(config: &config::Config) -> Result<()> {
|| error.kind == structopt::clap::ErrorKind::MissingArgumentOrSubcommand
{
// Remove the unnecessary command / version line at the start
let lines = error
let lines = format!("{}\n", error)
.to_string()
.lines()
.skip(1)
Expand Down

0 comments on commit c13824b

Please sign in to comment.