Fix 'nova-manage config convert'

Fixes bug #965069

Looks like this never worked. The dest of the infile and outfile
arguments sets up an unknown kwarg.

Change-Id: I428f56564b39f5586229325db03dccb0b4a01ef6
This commit is contained in:
Mark McLoughlin 2012-03-26 09:53:46 +01:00
parent f34b904078
commit 9576d92586

View File

@ -1455,9 +1455,9 @@ class ConfigCommands(object):
if value is not None:
print '%s = %s' % (key, value)
@args('--infile', dest='file_path', metavar='<path>',
@args('--infile', dest='infile', metavar='<path>',
help='old-style flagfile to convert to config')
@args('--outfile', dest='file_path', metavar='<path>',
@args('--outfile', dest='outfile', metavar='<path>',
help='path for output file. Writes config'
'to stdout if not specified.')
def convert(self, infile, outfile=None):