[svn] commit: r2703 - /trunk/src/bin/usermgr/b10-cmdctl-usermgr.py.in

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Aug 11 14:45:56 UTC 2010


Author: jreed
Date: Wed Aug 11 14:45:56 2010
New Revision: 2703

Log:
Fix bug where --version required following argument.
Also while here sort the options.

Modified:
    trunk/src/bin/usermgr/b10-cmdctl-usermgr.py.in

Modified: trunk/src/bin/usermgr/b10-cmdctl-usermgr.py.in
==============================================================================
--- trunk/src/bin/usermgr/b10-cmdctl-usermgr.py.in (original)
+++ trunk/src/bin/usermgr/b10-cmdctl-usermgr.py.in Wed Aug 11 14:45:56 2010
@@ -69,8 +69,8 @@
 def main():
     filename = DEFAULT_FILE
     try: 
-        opts, args = getopt.getopt(sys.argv[1:], 'hvf:', 
-                                   ['help', 'file=', 'version=']) 
+        opts, args = getopt.getopt(sys.argv[1:], 'f:hv', 
+                                   ['file=', 'help', 'version']) 
     except getopt.GetoptError as err: 
         print(err) 
         usage() 




More information about the bind10-changes mailing list