From 75934c995cc1036f886348dc2e5d1753ed86acf7 Mon Sep 17 00:00:00 2001 From: Jan Zerebecki Date: Tue, 18 Aug 2020 14:52:38 +0200 Subject: [PATCH] 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 --- osc/commandline.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/osc/commandline.py b/osc/commandline.py index fe8f7e66..a69d43fd 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -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 + osc workerinfo x86_64:goat:1 + + Usage: + osc workerinfo : - ${cmd_usage} ${cmd_option_list} """ apiurl = self.get_api_url()