From 92173defa2a7c186c3447ea3faea44016ab1caeb Mon Sep 17 00:00:00 2001 From: jonnary Date: Sat, 1 Apr 2017 13:39:12 +0800 Subject: [PATCH] Add 'pool' description to pool flavor commands Now we only have 'pool' description in pool flavor create. This patch adds this description to other pool flavor commands. This will help users understanding this is a pool flover. Change-Id: I9423e42f8b8222fa25d6a73db9e0bdafb20248f8 --- doc/source/command/flavor.rst | 6 +++--- zaqarclient/queues/v1/cli.py | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) mode change 100644 => 100755 doc/source/command/flavor.rst diff --git a/doc/source/command/flavor.rst b/doc/source/command/flavor.rst old mode 100644 new mode 100755 index c7e022ab..3d379c75 --- a/doc/source/command/flavor.rst +++ b/doc/source/command/flavor.rst @@ -56,7 +56,7 @@ openstack messaging flavor delete usage: openstack messaging flavor delete [-h] -Delete a flavor. +Delete a pool flavor. **Positional arguments:** @@ -78,7 +78,7 @@ openstack messaging flavor list [--limit ] [--detailed ] -List available flavors. +List available pool flavors. **Optional arguments:** @@ -125,7 +125,7 @@ openstack messaging flavor update [--capabilities ] -Update a flavor's attributes. +Update a pool flavor's attributes. **Positional arguments:** diff --git a/zaqarclient/queues/v1/cli.py b/zaqarclient/queues/v1/cli.py index 2c7beeb2..c0340942 100644 --- a/zaqarclient/queues/v1/cli.py +++ b/zaqarclient/queues/v1/cli.py @@ -497,9 +497,9 @@ class CreateFlavor(command.ShowOne): class DeleteFlavor(command.Command): - """Delete a flavor""" + """Delete a pool flavor""" - _description = _("Delete a flavor") + _description = _("Delete a pool flavor") log = logging.getLogger(__name__ + ".DeleteFlavor") def get_parser(self, prog_name): @@ -517,9 +517,9 @@ class DeleteFlavor(command.Command): class ShowFlavor(command.ShowOne): - """Display flavor details""" + """Display pool flavor details""" - _description = _("Display flavor details") + _description = _("Display pool flavor details") log = logging.getLogger(__name__ + ".ShowFlavor") def get_parser(self, prog_name): @@ -541,9 +541,9 @@ class ShowFlavor(command.ShowOne): class ListFlavors(command.Lister): - """List available flavors""" + """List available pool flavors""" - _description = _("List available flavors") + _description = _("List available pool flavors") log = logging.getLogger(__name__ + ".ListFlavors") def get_parser(self, prog_name):