1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-26 09:56:13 +01:00

fix content of osc workerinfo --help

Replace usage with better explanation. It was missing that it requires a
prefixed hostarch. Also workername is instead called workerid in the
API.

Usage help was before: osc workerinfo WORKER

Add actual example.

See also the fix for this in OBS API docs:
https://github.com/openSUSE/open-build-service/pull/10024
This commit is contained in:
Jan Zerebecki 2020-08-18 14:52:38 +02:00
parent 568cb38e3d
commit 75934c995c
No known key found for this signature in database
GPG Key ID: 94D2D0D2432ED7CC

View File

@ -6079,9 +6079,11 @@ Please submit there instead, or use --nodevelproject to force direct submission.
"""${cmd_name}: gets the information to a worker from the server
Examples:
osc workerinfo <workername>
osc workerinfo x86_64:goat:1
Usage:
osc workerinfo <hostarch>:<workerid>
${cmd_usage}
${cmd_option_list}
"""
apiurl = self.get_api_url()