Skip to content

Commit

Permalink
fix exclusions for rbw gen cli options
Browse files Browse the repository at this point in the history
apparently this has been broken for a while, and clap just doesn't tell
you about it?

this also fixes `rbw gen-completions` when debug assertions are enabled.

fixes #198
  • Loading branch information
doy committed Jul 29, 2024
1 parent d5c93c0 commit 80a5651
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## Unreleased

### Fixed

* Fix preventing the password type selectors in `rbw generate` from being
used together. (antecrescent, #198)

## [1.12.1] - 2024-07-28

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions src/bin/rbw/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ enum Opt {
password to the database.",
visible_alias = "gen",
group = clap::ArgGroup::new("password-type").args(&[
"no-symbols",
"only-numbers",
"no_symbols",
"only_numbers",
"nonconfusables",
"diceware",
])
Expand Down

0 comments on commit 80a5651

Please sign in to comment.