samba_gpoupdate: Rename the command to samba-gpupdate
[nivanova/samba-autobuild/.git] / source4 / scripting / bin / samba-gpupdate
similarity index 96%
rename from source4/scripting/bin/samba_gpoupdate
rename to source4/scripting/bin/samba-gpupdate
index 89b3ed776162307593b45c72f829a79d1f837369..1a95d03c8adace893c54481addbf544ae93bf6b2 100755 (executable)
@@ -39,7 +39,7 @@ from samba.gp_sec_ext import gp_sec_ext
 import logging
 
 if __name__ == "__main__":
-    parser = optparse.OptionParser('samba_gpoupdate [options]')
+    parser = optparse.OptionParser('samba-gpupdate [options]')
     sambaopts = options.SambaOptions(parser)
 
     # Get the command line options
@@ -68,7 +68,7 @@ if __name__ == "__main__":
     session = system_session()
 
     # Set up logging
-    logger = logging.getLogger('samba_gpoupdate')
+    logger = logging.getLogger('samba-gpupdate')
     logger.addHandler(logging.StreamHandler(sys.stdout))
     logger.setLevel(logging.CRITICAL)
     log_level = lp.log_level()