Make cluster config --force a boolean

Option --force of openstack coe cluster config is a boolean and should not
take an argument. Fix message in argument description.

Change-Id: Ic526589a8f5c11b13e16b080a04e262d8393c387
Closes-Bug: #1721267
This commit is contained in:
Ricardo Rocha 2017-10-09 08:16:54 +00:00
parent b9f9e1c529
commit 92fa44e1d9
1 changed files with 3 additions and 2 deletions

View File

@ -275,9 +275,10 @@ class ConfigCluster(command.Command):
help=_('Directory to save the certificate and config files.'))
parser.add_argument(
'--force',
metavar='<force>',
action='store_true',
dest='force',
default=False,
help=_('Directory to save the certificate and config files.'))
help=_('Overwrite files if existing.'))
return parser