mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Fix #1505
This commit is contained in:
parent
03a8cc5532
commit
33646d77a8
@ -691,7 +691,10 @@ class SaltCall(object):
|
||||
Parse the command line arguments
|
||||
'''
|
||||
usage = "%prog [options] <function> [arguments]"
|
||||
parser = optparse.OptionParser(version='%%prog %s'.format(VERSION), usage=usage)
|
||||
parser = optparse.OptionParser(
|
||||
version='salt-call {0}'.format(VERSION),
|
||||
usage=usage
|
||||
)
|
||||
|
||||
parser.add_option('-g',
|
||||
'--grains',
|
||||
|
Loading…
Reference in New Issue
Block a user