Skip to content

Commit

Permalink
chore: elaborate error message for command not found
Browse files Browse the repository at this point in the history
  • Loading branch information
s3i7h committed Apr 17, 2024
1 parent 8a5dd5d commit e366728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/browse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ fn open_url(url: &url::Url) -> Result<()> {
}
}

Err(anyhow!("no commands were found to open the url"))
Err(anyhow!("Command not found: you need one of the following commands to open a url: {commands:?}"))
}

#[derive(Debug, Parser)]
Expand Down

0 comments on commit e366728

Please sign in to comment.