From 4510c039bf8675ff33145bfdc2101a01a9f64b8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Euzenat?= <Jerome.Euzenat@inria.fr>
Date: Sat, 10 Mar 2012 15:54:01 +0000
Subject: [PATCH] - improved help command

---
 src/fr/inrialpes/exmo/align/cli/ExtGroupEval.java | 8 ++++++--
 src/fr/inrialpes/exmo/align/cli/GenPlot.java      | 6 +++---
 src/fr/inrialpes/exmo/align/cli/WGroupEval.java   | 2 +-
 3 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/src/fr/inrialpes/exmo/align/cli/ExtGroupEval.java b/src/fr/inrialpes/exmo/align/cli/ExtGroupEval.java
index 27cf2c25..200241ae 100644
--- a/src/fr/inrialpes/exmo/align/cli/ExtGroupEval.java
+++ b/src/fr/inrialpes/exmo/align/cli/ExtGroupEval.java
@@ -450,13 +450,17 @@ public class ExtGroupEval {
     public void usage() {
 	System.out.println("usage: ExtGroupEval [options]");
 	System.out.println("options are:");
-	System.out.println("\t--format=sepr -r sepr\tSpecifies the extended measures used (symetric/effort-based/precision-oriented/recall-oriented)");
+	System.out.println("\t--format=sepr -f sepr\tSpecifies the extended measures used (symetric/effort-based/precision-oriented/recall-oriented)");
 	System.out.println("\t--reference=filename -r filename\tSpecifies the name of the reference alignment file (default: refalign.rdf)");
-	System.out.println("\t--dominant=algo -s algo\tSpecifies if dominant columns are algorithms or measure");
+	System.out.println("\t--output=filename -o filename\tSpecifies a file to which the output will go");
+	// Apparently not implemented
+	//System.out.println("\t--dominant=algo -s algo\tSpecifies if dominant columns are algorithms or measure");
 	System.out.println("\t--type=html|xml|tex|ascii -t html|xml|tex|ascii\tSpecifies the output format");
 	System.out.println("\t--list=algo1,...,algon -l algo1,...,algon\tSequence of the filenames to consider");
+	System.out.println("\t--color=color -c color\tSpecifies if the output must color even lines of the output");
 	System.out.println("\t--debug[=n] -d [n]\t\tReport debug info at level n");
 	System.out.println("\t--help -h\t\t\tPrint this message");
+	System.err.print("\n"+ExtGroupEval.class.getPackage().getImplementationTitle()+" "+ExtGroupEval.class.getPackage().getImplementationVersion());
 	System.err.println(" ($Id$)\n");
     }
 }
diff --git a/src/fr/inrialpes/exmo/align/cli/GenPlot.java b/src/fr/inrialpes/exmo/align/cli/GenPlot.java
index dff2c961..9d82165c 100644
--- a/src/fr/inrialpes/exmo/align/cli/GenPlot.java
+++ b/src/fr/inrialpes/exmo/align/cli/GenPlot.java
@@ -160,10 +160,10 @@ public class GenPlot {
 		/* List of filename */
 		fileNames = g.getOptarg();
 		break;
-	    case 's' :
+		//case 's' :
 		/* Step */
-		fileNames = g.getOptarg();
-		break;
+		//fileNames = g.getOptarg();
+		//break;
 	    case 'd' :
 		/* Debug level  */
 		arg = g.getOptarg();
diff --git a/src/fr/inrialpes/exmo/align/cli/WGroupEval.java b/src/fr/inrialpes/exmo/align/cli/WGroupEval.java
index 959ce371..efc5656f 100644
--- a/src/fr/inrialpes/exmo/align/cli/WGroupEval.java
+++ b/src/fr/inrialpes/exmo/align/cli/WGroupEval.java
@@ -569,7 +569,7 @@ which the program does...
     public void usage() {
 	System.out.println("usage: WGroupEval [options]");
 	System.out.println("options are:");
-	System.out.println("\t--format=prfot -r prfot\tSpecifies the output order (precision/recall/f-measure/overall/time)");
+	System.out.println("\t--format=prfot -f prfot\tSpecifies the output order (precision/recall/f-measure/overall/time)");
 	// Apparently not implemented
 	//System.out.println("\t--sup=algo -s algo\tSpecifies if dominant columns are algorithms or measure");
 	System.out.println("\t--output=filename -o filename\tSpecifies a file to which the output will go");
-- 
GitLab