Skip to content

Commit

Permalink
Add missing dot, variable -> item.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kami committed Jun 1, 2016
1 parent c8bac8b commit 9063d49
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions st2client/st2client/commands/keyvalue.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def __init__(self, *args, **kwargs):
self.parser.add_argument('--decrypt', action='store_true',
help='Decrypt secrets and display plain text.')
self.parser.add_argument('-s', '--scope', default='system', dest='scope',
help='Scope variable is under. Example: "user".')
help='Scope item is under. Example: "user".')

def run_and_print(self, args, **kwargs):
if args.prefix:
Expand Down Expand Up @@ -102,7 +102,7 @@ def __init__(self, kv_resource, *args, **kwargs):
self.parser.add_argument('-d', '--decrypt', action='store_true',
help='Decrypt secret if encrypted and show plain text.')
self.parser.add_argument('-s', '--scope', default=DEFAULT_SCOPE, dest='scope',
help='Scope variable is under. Example: "user".')
help='Scope item is under. Example: "user".')

@resource.add_auth_token_to_kwargs_from_cli
def run(self, args, **kwargs):
Expand Down Expand Up @@ -135,9 +135,9 @@ def __init__(self, resource, *args, **kwargs):
help='Encrypt value before saving the value.')
self.parser.add_argument('-s', '--scope', dest='scope', default=DEFAULT_SCOPE,
help='Specify the scope under which you want ' +
'to place the variable.')
'to place the item.')
self.parser.add_argument('-u', '--user', dest='user', default=None,
help='User for user scoped variables ')
help='User for user scoped items (admin only).')

@add_auth_token_to_kwargs_from_cli
def run(self, args, **kwargs):
Expand Down Expand Up @@ -171,9 +171,9 @@ def __init__(self, resource, *args, **kwargs):

self.parser.add_argument('-s', '--scope', dest='scope', default=DEFAULT_SCOPE,
help='Specify the scope under which you want ' +
'to place the variable.')
'to place the item.')
self.parser.add_argument('-u', '--user', dest='user', default=None,
help='User for user scoped variables ')
help='User for user scoped items (admin only).')

@add_auth_token_to_kwargs_from_cli
def run(self, args, **kwargs):
Expand Down

0 comments on commit 9063d49

Please sign in to comment.