diff options
| author | Andreas Jaeger <aj@suse.de> | 2014-02-21 19:22:32 +0100 |
|---|---|---|
| committer | Andreas Jaeger <aj@suse.de> | 2014-02-21 19:40:41 +0100 |
| commit | 50432931562ca697a2b88db2bb2f0b1da91fb28a (patch) | |
| tree | 57b3429d3d539c05d5b9bbaeef21ef359d9898c8 /openstackclient/compute | |
| parent | 2cae50c442337826216d68832a1cb387f3cc1341 (diff) | |
| download | python-openstackclient-50432931562ca697a2b88db2bb2f0b1da91fb28a.tar.gz | |
Fix some help strings
This fixes some errors and inconsistencies I found reviewing the
help strings:
* Capitalize help strings
* Add missing space between words (in multi-line strings)
* Improve wording
Change-Id: I2fb31ab4191c330146e31c1a9651115a6657769a
Diffstat (limited to 'openstackclient/compute')
| -rw-r--r-- | openstackclient/compute/v2/agent.py | 2 | ||||
| -rw-r--r-- | openstackclient/compute/v2/server.py | 24 | ||||
| -rw-r--r-- | openstackclient/compute/v2/usage.py | 2 |
3 files changed, 14 insertions, 14 deletions
diff --git a/openstackclient/compute/v2/agent.py b/openstackclient/compute/v2/agent.py index b79ebbe7..c8fb6ccc 100644 --- a/openstackclient/compute/v2/agent.py +++ b/openstackclient/compute/v2/agent.py @@ -136,7 +136,7 @@ class SetAgent(show.ShowOne): parser.add_argument( "id", metavar="<id>", - help="ID of the agent build") + help="ID of the agent") parser.add_argument( "version", metavar="<version>", diff --git a/openstackclient/compute/v2/server.py b/openstackclient/compute/v2/server.py index 87f5f689..808741fd 100644 --- a/openstackclient/compute/v2/server.py +++ b/openstackclient/compute/v2/server.py @@ -483,40 +483,40 @@ class ListServer(lister.Lister): parser.add_argument( '--reservation-id', metavar='<reservation-id>', - help='only return instances that match the reservation') + help='Only return instances that match the reservation') parser.add_argument( '--ip', metavar='<ip-address-regex>', - help='regular expression to match IP address') + help='Regular expression to match IP addresses') parser.add_argument( '--ip6', metavar='<ip-address-regex>', - help='regular expression to match IPv6 address') + help='Regular expression to match IPv6 addresses') parser.add_argument( '--name', metavar='<name>', - help='regular expression to match name') + help='Regular expression to match names') parser.add_argument( '--status', metavar='<status>', # FIXME(dhellmann): Add choices? - help='search by server status') + help='Search by server status') parser.add_argument( '--flavor', metavar='<flavor>', - help='search by flavor ID') + help='Search by flavor ID') parser.add_argument( '--image', metavar='<image>', - help='search by image ID') + help='Search by image ID') parser.add_argument( '--host', metavar='<hostname>', - help='search by hostname') + help='Search by hostname') parser.add_argument( '--instance-name', metavar='<server-name>', - help='regular expression to match instance name (admin only)') + help='Regular expression to match instance name (admin only)') parser.add_argument( '--all-projects', action='store_true', @@ -526,7 +526,7 @@ class ListServer(lister.Lister): '--long', action='store_true', default=False, - help='Additional fields are listed in output') + help='List additional fields in output') return parser def take_action(self, parsed_args): @@ -1181,14 +1181,14 @@ class SshServer(command.Command): dest='ipv4', action='store_true', default=False, - help='Use only IPv4 addresses only', + help='Use only IPv4 addresses', ) ip_group.add_argument( '-6', dest='ipv6', action='store_true', default=False, - help='Use only IPv6 addresses only', + help='Use only IPv6 addresses', ) type_group = parser.add_mutually_exclusive_group() type_group.add_argument( diff --git a/openstackclient/compute/v2/usage.py b/openstackclient/compute/v2/usage.py index 30835769..1dfe8c0a 100644 --- a/openstackclient/compute/v2/usage.py +++ b/openstackclient/compute/v2/usage.py @@ -35,7 +35,7 @@ class ListUsage(lister.Lister): "--start", metavar="<start>", default=None, - help="Usage range start date ex 2012-01-20" + help="Usage range start date, ex 2012-01-20" " (default: 4 weeks ago)." ) parser.add_argument( |
