From 626d8205d998203b230bdbadc07e485a74055df5 Mon Sep 17 00:00:00 2001 From: Ondrej Nosek Date: Nov 28 2019 09:28:17 +0000 Subject: Clarify request-branch 'service levels' argument Description of 'request-branch' command wasn't clear for '--sl' argument and was modified. '--sl' argument allows multiple values and therefore only positional argument 'branch' shouldn't be placed at the end of line. JIRA: COMPOSE-2970 Fixes: #283 Signed-off-by: Ondrej Nosek --- diff --git a/fedpkg/cli.py b/fedpkg/cli.py index 639fd31..4cd7e8c 100644 --- a/fedpkg/cli.py +++ b/fedpkg/cli.py @@ -383,6 +383,11 @@ requested repository has not been approved and created, or just not change directory to package repository: {0} request-branch --repo foo f27 + +Request a branch with service level tied to the branch. In this case branch +argument has to be before --sl argument, because --sl allows multiple values. + + {0} request-branch branch_name --sl bug_fixes:2020-06-01 rawhide:2019-12-01 '''.format(self.name) request_branch_parser = self.subparsers.add_parser( @@ -411,7 +416,8 @@ directory to package repository: help=('The service levels (SLs) tied to the branch. This must be ' 'in the format of "sl_name:2020-12-01". This is only for ' 'non-release branches. You may provide more than one by ' - 'separating each SL with a space.') + 'separating each SL with a space. When the argument is used, ' + 'branch argument has to be placed before --sl.') ) request_branch_parser.add_argument( '--no-git-branch', default=False, action='store_true',