1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-07 12:59:08 +03:00

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>
This commit is contained in:
Giampaolo Lauria
2011-07-06 14:13:39 -04:00
committed by Andrew Tridgell
parent df6fae2f13
commit 35d534b026

View 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():