https://issues.apache.org/bugzilla/show_bug.cgi?id=51370
--- Comment #4 from Philip <[email protected]> 2011-06-14 18:12:23 UTC --- Igor, thanks for the feedback. Why don't you like the patch? The biggest reason I don't do what 'htpasswd' does is that I haven't ever used 'htpasswd'; I didn't know it accepts passwords on the command line! I suppose that's the strongest reason why 'htdigest' should also. I see why 'htpasswd' requires the '-b' argument -- because the filename is optional, and '-b' helps to disambiguate. This is not a problem for 'htdigest', since a file argument is mandatory. We can unambiguously determine whether the user provided a password or not. The bigger picture is that both programs use a non-standard format for command-line arguments. I'd expect the "flag or flag-followed-by-parameter" format, the format supported by Python's getopt library. If we're willing to break backward compatibility, I'll happily adapt both programs to use libc's getopt or similar. (Is there an APR replacement?) What do you think? -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
