Skip to content

Commit

Permalink
fix: add missing regex engine to error help text
Browse files Browse the repository at this point in the history
  • Loading branch information
Aloso committed Dec 19, 2024
1 parent c863456 commit 9d839c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pomsky-bin/src/args/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ impl fmt::Display for ParseArgsError {
possible values: pcre, python, java, javascript, dotnet, ruby, rust"
),
ParseArgsError::UnknownEngine(engine) => {
write!(f, "`{engine}` isn't a valid regex engine\npossible values: pcre2")
write!(f, "`{engine}` isn't a valid regex engine\npossible values: pcre2, rust")
}
ParseArgsError::UnknownList(list) => {
write!(f, "`{list}` isn't a valid list\npossible values: shorthands")
Expand Down

0 comments on commit 9d839c1

Please sign in to comment.