Skip to content

Commit

Permalink
cli: Add -n to known short flags without value
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Oct 7, 2023
1 parent 64e2f86 commit 7b8fd39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ impl Args {
}
}
Short(flag) => {
if matches!(flag, 'q' | 'r') {
if matches!(flag, 'n' | 'q' | 'r') {
// To handle combined short flags properly, handle known
// short flags without value as special cases.
cargo_args.push(format!("-{flag}"));
Expand Down

0 comments on commit 7b8fd39

Please sign in to comment.