Skip to content

Commit

Permalink
Fix #458 space separated scm scm perform options not working
Browse files Browse the repository at this point in the history
  • Loading branch information
gschueler committed Jun 21, 2022
1 parent 2b4d3d4 commit 6240fec
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,10 @@ public void inputs(

@Getter @Setter
public static class ActionPerformOptions extends ActionInputsOptions {
@CommandLine.Option(names = {"--field", "-f"}, description = "Field input values, space separated key=value list")
@CommandLine.Option(names = {"--field", "-f"}, arity = "1..*", description = "Field input values, space separated key=value list")
private List<String> fields;

@CommandLine.Option(names = {"--item", "-I"}, description = "Items to include, space separated list")
@CommandLine.Option(names = {"--item", "-I"}, arity = "1..*", description = "Items to include, space separated list")
private List<String> item;

@CommandLine.Option(names = {"-A", "--allitems"},
Expand All @@ -314,11 +314,12 @@ public static class ActionPerformOptions extends ActionInputsOptions {
"(import only)")
boolean allUntrackedItems;

@CommandLine.Option(names = {"--job", "-j"}, description = "Job IDs to include, space separated list")
@CommandLine.Option(names = {"--job", "-j"}, arity = "1..*", description = "Job IDs to include, space separated list")
List<String> job;


@CommandLine.Option(names = {"--delete", "-d"},
arity = "1..*",
description = "Job IDs or Item Ids to delete, space separated list")
List<String> delete;

Expand Down

0 comments on commit 6240fec

Please sign in to comment.