1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-14 17:46:17 +01:00

Merge pull request #438 from andreas-schwab/token

Clarify use of osc token
This commit is contained in:
Marco Strigl 2018-08-31 11:16:04 +02:00 committed by GitHub
commit 48e71b0255
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -720,7 +720,7 @@ class Osc(cmdln.Cmdln):
help='Create a new token')
@cmdln.option('-d', '--delete', metavar='TOKENID',
help='Create a new token')
@cmdln.option('-t', '--trigger', metavar='TOKENID',
@cmdln.option('-t', '--trigger', metavar='TOKENSTRING',
help='Trigger the action of a token')
def do_token(self, subcmd, opts, *args):
"""${cmd_name}: Show and manage authentication token
@ -732,7 +732,7 @@ class Osc(cmdln.Cmdln):
osc token
osc token --create [<PROJECT> <PACKAGE>]
osc token --delete <TOKENID>
osc token --trigger <TOKENID>
osc token --trigger <TOKENSTRING>
${cmd_option_list}
"""