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
This commit is contained in:
Tang Chen 2016-02-20 15:01:07 +08:00
parent ab6ba385a2
commit 53e058fabc
2 changed files with 4 additions and 4 deletions

View File

@ -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)

View File

@ -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