From: Andrew Kroeger Date: Tue, 8 Sep 2009 07:34:56 +0000 (-0500) Subject: s4:pwsettings: Show default values in help messages. X-Git-Tag: talloc-2.0.1~574 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=ebdb9da78e4ab66a633145d668ef4f777120f9c2 s4:pwsettings: Show default values in help messages. --- diff --git a/source4/setup/pwsettings b/source4/setup/pwsettings index 44e12d0a98c..cd9c07dfb54 100755 --- a/source4/setup/pwsettings +++ b/source4/setup/pwsettings @@ -33,13 +33,13 @@ parser.add_option("-H", help="LDB URL for database or target server", type=str) parser.add_option("--complexity", help="The password complexity (on | off | default). Default is 'on'", type=str) parser.add_option("--history-length", - help="The password history length ( | default)", type=str) + help="The password history length ( | default). Default is 24.", type=str) parser.add_option("--min-pwd-length", - help="The minimum password length ( | default)", type=str) + help="The minimum password length ( | default). Default is 7.", type=str) parser.add_option("--min-pwd-age", - help="The minimum password age ( | default)", type=str) + help="The minimum password age ( | default). Default is 0.", type=str) parser.add_option("--max-pwd-age", - help="The maximum password age ( | default)", type=str) + help="The maximum password age ( | default). Default is 43.", type=str) opts, args = parser.parse_args()