Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RUN-1002: Fix #458 space separated scm scm perform options not working #459

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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