Package: pwgen Version: 2.07-1 A friend of mine stumbled over the issue that: $ pwgen --no-vowels --no-capitalize and $ pwgen --no-capitalize --no-vowels give different results. The later does include captialized results while the former does not. I was expecting no upper cases in both cases.
The attached patch fixes this. Alternative the documentation for --no-vowels could maybe improved to mention that it turns on PW_UPPERS. Thanks, Michael
--- pwgen-2.07.orig/pwgen.c +++ pwgen-2.07/pwgen.c @@ -154,7 +154,7 @@ int main(int argc, char **argv) break; case 'v': pwgen = pw_rand; - pwgen_flags |= PW_NO_VOWELS | PW_DIGITS | PW_UPPERS; + pwgen_flags |= PW_NO_VOWELS | PW_DIGITS; break; case 'h': case '?':