(Note: I have copied this bug from the Debian bug tracker: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=436912
I am not the original reporter.)
When using the -s option it can nullify other options if it is entered
after the other named option.
Try for example "-y -s" and "-s -y" they are not the same.
Here is the fix (I think):
--- pwgen-2.06.orig/pwgen.c
+++ pwgen-2.06/pwgen.c
@@ -138,7 +138,7 @@
break;
case 's':
pwgen = pw_rand;
- pwgen_flags = PW_DIGITS | PW_UPPERS;
+ pwgen_flags |= PW_DIGITS | PW_UPPERS;
break;
case 'C':
do_columns = 1;
Nobody/Anonymous
None
None
Public