From e5c93e2b2af4984bd264c79c04eb3cc9b69a0117 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Mon, 5 Dec 2016 23:47:45 -0500 Subject: ditaa-0.10-1.parabola1: updating version --- libre/ditaa/ditaa-usage_message.patch | 63 ++++++++++++++++++++--------------- 1 file changed, 36 insertions(+), 27 deletions(-) (limited to 'libre/ditaa/ditaa-usage_message.patch') diff --git a/libre/ditaa/ditaa-usage_message.patch b/libre/ditaa/ditaa-usage_message.patch index 2918fdfa5..971493cbf 100644 --- a/libre/ditaa/ditaa-usage_message.patch +++ b/libre/ditaa/ditaa-usage_message.patch @@ -1,27 +1,36 @@ ---- 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 [outfile]", cmdLnOptions, true); -+ new HelpFormatter().printHelp("ditaa [outfile]", cmdLnOptions, true); - System.exit(2); - } - - - if(cmdLine.hasOption("help") || args.length == 0 ){ -- new HelpFormatter().printHelp("java -jar ditaa.jar [outfile]", cmdLnOptions, true); -+ new HelpFormatter().printHelp("ditaa [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 [outfile]", cmdLnOptions, true); -+ new HelpFormatter().printHelp("ditaa [outfile]", cmdLnOptions, true); - System.exit(2); - } - +--- ditaa.orig/src/org/stathissideris/ascii2image/core/CommandLineConverter.java 2016-12-04 23:55:12.415936000 -0500 ++++ ditaa/src/org/stathissideris/ascii2image/core/CommandLineConverter.java 2016-12-05 00:05:44.390902762 -0500 +@@ -129,13 +129,13 @@ + + } catch (org.apache.commons.cli.ParseException e) { + System.err.println(e.getMessage()); +- new HelpFormatter().printHelp("java -jar ditaa.jar [OUTFILE]", cmdLnOptions, true); ++ new HelpFormatter().printHelp("ditaa [OUTFILE]", cmdLnOptions, true); + System.exit(2); + } + + + if(cmdLine.hasOption("help") || args.length == 0 ){ +- new HelpFormatter().printHelp("java -jar ditaa.jar [OUTFILE]", cmdLnOptions, true); ++ new HelpFormatter().printHelp("ditaa [OUTFILE]", cmdLnOptions, true); + System.exit(0); + } + +@@ -147,7 +147,7 @@ + System.exit(2); + } catch (IllegalArgumentException e2) { + System.err.println("Error: " + e2.getMessage()); +- new HelpFormatter().printHelp("java -jar ditaa.jar [OUTFILE]", cmdLnOptions, true); ++ new HelpFormatter().printHelp("ditaa [OUTFILE]", cmdLnOptions, true); + System.exit(2); + } + +@@ -155,7 +155,7 @@ + + if(args.length == 0) { + System.err.println("Error: Please provide the input file filename"); +- new HelpFormatter().printHelp("java -jar ditaa.jar [outfile]", cmdLnOptions, true); ++ new HelpFormatter().printHelp("ditaa [outfile]", cmdLnOptions, true); + System.exit(2); + } + -- cgit v1.2.3