1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
--- ditaa-0.9.orig/src/org/stathissideris/ascii2image/core/CommandLineConverter.java 2009-11-24 23:09:32.000000000 -0500
+++ ditaa-0.9/src/org/stathissideris/ascii2image/core/CommandLineConverter.java 2016-03-05 21:44:02.817542514 -0500
@@ -120,13 +120,13 @@
} catch (org.apache.commons.cli.ParseException e) {
System.err.println(e.getMessage());
- new HelpFormatter().printHelp("java -jar ditaa.jar <inpfile> [outfile]", cmdLnOptions, true);
+ new HelpFormatter().printHelp("ditaa <inpfile> [outfile]", cmdLnOptions, true);
System.exit(2);
}
if(cmdLine.hasOption("help") || args.length == 0 ){
- new HelpFormatter().printHelp("java -jar ditaa.jar <inpfile> [outfile]", cmdLnOptions, true);
+ new HelpFormatter().printHelp("ditaa <inpfile> [outfile]", cmdLnOptions, true);
System.exit(0);
}
@@ -142,7 +142,7 @@
if(args.length == 0) {
System.err.println("Error: Please provide the input file filename");
- new HelpFormatter().printHelp("java -jar ditaa.jar <inpfile> [outfile]", cmdLnOptions, true);
+ new HelpFormatter().printHelp("ditaa <inpfile> [outfile]", cmdLnOptions, true);
System.exit(2);
}
|