diff options
author | Petr Kovar <pkovar@redhat.com> | 2017-01-18 19:47:46 +0100 |
---|---|---|
committer | Petr Kovar <pkovar@redhat.com> | 2017-01-18 19:51:06 +0100 |
commit | b66ca10b85bbf2e626882a16f6778d4e0c5a9db2 (patch) | |
tree | 966a85b1f0a7187efa28a5fd73fe6d69c16a5e74 /barbicanclient/barbican_cli | |
parent | 5caeaf05d383016f6220a38e2694e8a3819c47a2 (diff) | |
download | python-barbicanclient-b66ca10b85bbf2e626882a16f6778d4e0c5a9db2.tar.gz |
Fix doc referencing --payload-content-type
Referencing --payload-content-type seems incorrect.
Also, fix trivial formatting and spelling issues.
Change-Id: I68984ce55c1e8882b80a20a6c17b258383225ff3
Diffstat (limited to 'barbicanclient/barbican_cli')
-rw-r--r-- | barbicanclient/barbican_cli/cas.py | 2 | ||||
-rw-r--r-- | barbicanclient/barbican_cli/secrets.py | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/barbicanclient/barbican_cli/cas.py b/barbicanclient/barbican_cli/cas.py index 6e8f338..79459a6 100644 --- a/barbicanclient/barbican_cli/cas.py +++ b/barbicanclient/barbican_cli/cas.py @@ -33,7 +33,7 @@ class GetCA(show.ShowOne): class ListCA(lister.Lister): - """List cas.""" + """List CAs.""" def get_parser(self, prog_name): parser = super(ListCA, self).get_parser(prog_name) diff --git a/barbicanclient/barbican_cli/secrets.py b/barbicanclient/barbican_cli/secrets.py index cce8009..8c23117 100644 --- a/barbicanclient/barbican_cli/secrets.py +++ b/barbicanclient/barbican_cli/secrets.py @@ -42,13 +42,13 @@ class GetSecret(show.ShowOne): help='if specified, retrieve the ' 'unencrypted secret data; ' 'the data type can be specified with ' - '--payload-content-type.', + '--payload_content_type.', action='store_true') parser.add_argument('--payload', '-p', help='if specified, retrieve the ' 'unencrypted secret data; ' 'the data type can be specified with ' - '--payload-content-type. If the user' + '--payload_content_type. If the user' ' wishes to only retrieve the value of' ' the payload they must add ' '"-f value" to format returning only' @@ -57,7 +57,7 @@ class GetSecret(show.ShowOne): parser.add_argument('--payload_content_type', '-t', default='text/plain', help='the content type of the decrypted' - ' secret (default: %(default)s.') + ' secret (default: %(default)s).') return parser def take_action(self, args): |