This commit is contained in:
Thomas S Hatch 2012-06-27 09:09:58 -06:00
parent 03a8cc5532
commit 33646d77a8

View File

@ -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',