Skip to content

Commit

Permalink
Allow 'sub-' in participant labels.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Jan 2, 2025
1 parent 3f7b6fa commit 4dcddf6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xcp_d/cli/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def _build_parser():
dest='participant_label',
action='store',
nargs='+',
type=lambda label: label.removeprefix('sub-'),
help=(
'A space-delimited list of participant identifiers, or a single identifier. '
"The 'sub-' prefix can be removed."
Expand Down

0 comments on commit 4dcddf6

Please sign in to comment.