libkas: Update help test to commit/branch

Adjust the wording the avoid confusion when there is no longer a refspec
key one day.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
Jan Kiszka 2023-05-30 17:38:50 +02:00
parent 0d268197a4
commit da0897b62a

View File

@ -412,11 +412,11 @@ def setup_parser_common_args(parser):
help='Skip build steps',
default=[])
parser.add_argument('--force-checkout', action='store_true',
help='Always checkout the desired refspec of each '
'repository, discarding any local changes')
help='Always checkout the desired commit/branch of '
'each repository, discarding any local changes')
parser.add_argument('--update', action='store_true',
help='Pull new upstream changes to the desired '
'refspec even if it is already checked out locally')
'branch even if it is already checked out locally')
def setup_parser_preserve_env_arg(parser):