mirror of
https://github.com/samba-team/samba.git
synced 2025-07-04 00:59:13 +03:00
samba-tool: removed the assignment to parser.prog
The prog should only be set if we want it to be different than the name of the program that executed it. I think that for better portability we should not set it and let it default to samba-tool. Signed-off-by: Andrew Tridgell <tridge@samba.org>
This commit is contained in:
committed by
Andrew Tridgell
parent
35d534b026
commit
1dfcb019d2
@ -98,7 +98,6 @@ class Command(object):
|
||||
|
||||
def _create_parser(self):
|
||||
parser = optparse.OptionParser(self.synopsis)
|
||||
parser.prog = "samba-tool"
|
||||
parser.add_options(self.takes_options)
|
||||
optiongroups = {}
|
||||
for name, optiongroup in self.takes_optiongroups.iteritems():
|
||||
|
Reference in New Issue
Block a user