Skip to content

Commit

Permalink
Command line: exit on help or print version options.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vovodroid committed May 29, 2015
1 parent 9e60e6e commit 103ab6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/net/sf/jsignpdf/Signer.java
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,11 @@ public static void main(String[] args) {
if (tmpOpts != null) {
if (tmpOpts.isPrintVersion()) {
System.out.println("JSignPdf version " + VERSION);
return;
}
if (tmpOpts.isPrintHelp()) {
printHelp();
return;
}
if (tmpOpts.isListKeyStores()) {
LOGGER.info(RES.get("console.keystores"));
Expand Down

0 comments on commit 103ab6c

Please sign in to comment.