samba-tool: fixed prog name in samba-tool
authorGiampaolo Lauria <lauria2@yahoo.com>
Wed, 6 Jul 2011 18:13:39 +0000 (14:13 -0400)
committerAndrew Tridgell <tridge@samba.org>
Thu, 21 Jul 2011 00:32:24 +0000 (10:32 +1000)
Changed the prog name from net to samba-tool so that the usage statement is now correct

Signed-off-by: Andrew Tridgell <tridge@samba.org>
source4/scripting/python/samba/netcmd/__init__.py

index e5e2d69235b49bde7241d74b23ce0e9a7aa824fa..8e9044bd69c09eae0671810085b9b7c5b4d203f6 100644 (file)
@@ -98,7 +98,7 @@ class Command(object):
 
     def _create_parser(self):
         parser = optparse.OptionParser(self.synopsis)
-        parser.prog = "net"
+        parser.prog = "samba-tool"
         parser.add_options(self.takes_options)
         optiongroups = {}
         for name, optiongroup in self.takes_optiongroups.iteritems():