Document default values of runtime arguments
Argparse can output the default values of the runtime arguments. Enable it so we have them documented. Change-Id: I4fd7f21546615bd249485707521d8222fab10962
This commit is contained in:
parent
7fd6411dac
commit
97060ea7ba
|
@ -91,7 +91,9 @@ class NodepoolApp(object):
|
|||
return os.path.abspath(os.path.expanduser(path))
|
||||
|
||||
def create_parser(self):
|
||||
parser = argparse.ArgumentParser(description=self.app_description)
|
||||
parser = argparse.ArgumentParser(
|
||||
description=self.app_description,
|
||||
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
|
||||
|
||||
parser.add_argument('-l',
|
||||
dest='logconfig',
|
||||
|
|
Loading…
Reference in New Issue