From 22706c4605f370000f011d15f32d24bd550da9ab Mon Sep 17 00:00:00 2001 From: Hiroaki Kobayashi Date: Tue, 22 Nov 2016 14:35:58 +0900 Subject: [PATCH] Fix help messages for update commands Help messages for the host-update and lease-update commands were wrongly referring to delete rather than update. Change-Id: I489a30ec04e98e557256f8ad30757e9be82f22f1 Closes-Bug: #1643765 --- climateclient/command.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/climateclient/command.py b/climateclient/command.py index 8820903..e9ac317 100644 --- a/climateclient/command.py +++ b/climateclient/command.py @@ -147,9 +147,9 @@ class UpdateCommand(ClimateCommand): def get_parser(self, prog_name): parser = super(UpdateCommand, self).get_parser(prog_name) if self.allow_names: - help_str = 'ID or name of %s to delete' + help_str = 'ID or name of %s to update' else: - help_str = 'ID of %s to delete' + help_str = 'ID of %s to update' parser.add_argument( 'id', metavar=self.resource.upper(), help=help_str % self.resource