Skip to content

Commit

Permalink
better cli option description
Browse files Browse the repository at this point in the history
  • Loading branch information
pjagielski committed Mar 2, 2016
1 parent c6c8496 commit 6f5e65c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/pl/touk/sputnik/configuration/CliOption.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public enum CliOption implements ConfigurationOption {
CHANGE_ID("cli.changeId", "Gerrit change id", null),
REVISION_ID("cli.revisionId", "Gerrit revision id", null),
PULL_REQUEST_ID("cli.pullRequestId", "Stash pull request id", null),
API_KEY("cli.apiKey", "Optional API key", null);
API_KEY("cli.apiKey", "Optional API key for using Sputnik for Github", null);

private String key;
private String description;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@ public void shouldPublishReview() throws Exception {

@Test(expected = SaasException.class)
public void shouldHandleWrongApiKey() throws Exception {
List<ReviewFile> files = saasFacade.listFiles();
saasFacade.listFiles();
}
}

0 comments on commit 6f5e65c

Please sign in to comment.