Added '.' and remove extra parentheses(')') from README.rst

Set help parameter in troveclient/shell.py inside version agruments,
default first letter was lowercase and period missing.

Closes-Bug:1525550

Change-Id: Ia11f4fd5462487064a743697ebd95a46dd72b8e7
This commit is contained in:
amitg.b14@gmail.com
2015-12-25 11:37:25 +05:30
parent 7af776d06f
commit 7811e31689
2 changed files with 5 additions and 4 deletions

View File

@@ -165,7 +165,7 @@ You'll find complete documentation on the shell by running
its subcommands.
Optional arguments:
--version Show program's version number and exit
--version Show program's version number and exit.
--debug Print debugging output.
--os-username <auth-user-name> Defaults to env[OS_USERNAME].
--os-password <auth-password> Defaults to env[OS_PASSWORD].
@@ -210,12 +210,12 @@ There's also a complete Python API, but it has not yet been documented.
Quick-start using keystone::
# use v2.0 auth with http://example.com:5000/v2.0/")
# use v2.0 auth with http://example.com:5000/v2.0/
>>> from troveclient.v1 import client
>>> nt = client.Client(USERNAME,
PASSWORD,
project_id=TENANT_NAME,
auth_url=AUTH_URL))
auth_url=AUTH_URL)
>>> nt.instances.list()
[...]

View File

@@ -102,7 +102,8 @@ class OpenStackTroveShell(object):
parser.add_argument('--version',
action='version',
version=troveclient.__version__)
version=troveclient.__version__,
help="Show program's version number and exit.")
parser.add_argument('--debug',
action='store_true',