summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorGiampaolo Lauria <lauria2@yahoo.com>2011-07-06 14:13:39 -0400
committerAndrew Tridgell <tridge@samba.org>2011-07-21 10:32:24 +1000
commit35d534b02645e51d45472ca696cc8d92be7836fa (patch)
tree5ba2c877773224b6d82ba3c92387936921db1179 /source4/scripting
parentdf6fae2f138269578531f833c86859795785cd73 (diff)
downloadsamba-35d534b02645e51d45472ca696cc8d92be7836fa.tar.gz
samba-35d534b02645e51d45472ca696cc8d92be7836fa.tar.bz2
samba-35d534b02645e51d45472ca696cc8d92be7836fa.zip
samba-tool: fixed prog name in samba-tool
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>
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/samba/netcmd/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/netcmd/__init__.py b/source4/scripting/python/samba/netcmd/__init__.py
index e5e2d69235..8e9044bd69 100644
--- a/source4/scripting/python/samba/netcmd/__init__.py
+++ b/source4/scripting/python/samba/netcmd/__init__.py
@@ -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():