Skip to content

specify short option#1840

Merged
elharo merged 3 commits intomasterfrom
cli
Nov 30, 2020
Merged

specify short option#1840
elharo merged 3 commits intomasterfrom
cli

Conversation

@elharo
Copy link
Copy Markdown
Contributor

@elharo elharo commented Nov 30, 2020

@suztomo fixes #1838

@elharo elharo requested a review from suztomo November 30, 2020 13:43
@google-cla google-cla Bot added the cla: yes label Nov 30, 2020
Copy link
Copy Markdown
Contributor

@suztomo suztomo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for taking care of this.

@Test
public void testCommandLine() {
String[] arguments = {"something"};
LinkageMonitor.parseCommandLine(arguments);
Copy link
Copy Markdown
Contributor

@suztomo suztomo Nov 30, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about checking the return value to ensure the code below (at line 96 of LinkageMonitor.java) works fine?

    CommandLine commandLine = parseCommandLine(arguments);
    String bomCoordinates = commandLine.getArgList().get(0);

Note for myself: Linkage Monitor is invoked with the versionless coordinates. (doc)

java -jar linkage-monitor-X.Y.Z-all-deps.jar com.google.cloud:libraries-bom

@elharo elharo merged commit 63a4b55 into master Nov 30, 2020
@elharo elharo deleted the cli branch November 30, 2020 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The option 'send-analytics' contains an illegal character : '-'

2 participants