summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTang Chen <chen.tang@easystack.cn>2016-02-20 15:01:07 +0800
committerTang Chen <chen.tang@easystack.cn>2016-02-20 15:05:59 +0800
commit53e058fabc378575c96e324bc3a7da3a9d15238f (patch)
tree81bc047a85aa11c831a4d911d27abeaccbe1bbd1
parentab6ba385a2c292a7a906390ad911db8c59811a07 (diff)
downloadpython-openstackclient-53e058fabc378575c96e324bc3a7da3a9d15238f.tar.gz
Trivial: Rename subnet_pool.rst to subnet-pool.rst
File names under doc/source/command-objects/ are words connected with "-". So rename subnet_pool.rst to subnet-pool.rst to keep the consistence. Also use "display" instead of "show" in the comment to keep the consistence. Change-Id: If486f6cec34b4572a8245af865267b063c1e877d
-rw-r--r--doc/source/command-objects/subnet-pool.rst (renamed from doc/source/command-objects/subnet_pool.rst)4
-rw-r--r--openstackclient/network/v2/subnet_pool.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/source/command-objects/subnet_pool.rst b/doc/source/command-objects/subnet-pool.rst
index 7a8f79e4..e181caec 100644
--- a/doc/source/command-objects/subnet_pool.rst
+++ b/doc/source/command-objects/subnet-pool.rst
@@ -38,7 +38,7 @@ List subnet pools
subnet pool show
----------------
-Show subnet pool details
+Display subnet pool details
.. program:: subnet pool show
.. code:: bash
@@ -49,4 +49,4 @@ Show subnet pool details
.. _subnet_pool_show-subnet-pool:
.. describe:: <subnet-pool>
- Subnet pool to show (name or ID)
+ Subnet pool to display (name or ID)
diff --git a/openstackclient/network/v2/subnet_pool.py b/openstackclient/network/v2/subnet_pool.py
index 1db1652f..5bb45c12 100644
--- a/openstackclient/network/v2/subnet_pool.py
+++ b/openstackclient/network/v2/subnet_pool.py
@@ -99,14 +99,14 @@ class ListSubnetPool(command.Lister):
class ShowSubnetPool(command.ShowOne):
- """Show subnet pool details"""
+ """Display subnet pool details"""
def get_parser(self, prog_name):
parser = super(ShowSubnetPool, self).get_parser(prog_name)
parser.add_argument(
'subnet_pool',
metavar="<subnet-pool>",
- help=("Subnet pool to show (name or ID)")
+ help=("Subnet pool to display (name or ID)")
)
return parser