hi,
noticed today that the "strict" option was wrongly documented, see
attached trivial patch.
>From c8bb3e1fe1b2ec7941d86d18ce84d884a7edb578 Mon Sep 17 00:00:00 2001
From: Michael Stahl <[email protected]>
Date: Fri, 14 Sep 2012 14:33:22 +0200
Subject: [PATCH] validator: fix command line help a little
---
.../java/org/odftoolkit/odfvalidator/Main.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/validator/src/main/java/org/odftoolkit/odfvalidator/Main.java b/validator/src/main/java/org/odftoolkit/odfvalidator/Main.java
index 746a31e..73fad5c 100644
--- a/validator/src/main/java/org/odftoolkit/odfvalidator/Main.java
+++ b/validator/src/main/java/org/odftoolkit/odfvalidator/Main.java
@@ -152,7 +152,7 @@ public class Main {
else if( aArg.startsWith("-") )
{
System.out.print(aArg);
- System.out.println(": unknown option, use '-' for help");
+ System.out.println(": unknown option, use '-h' for help");
return;
}
else if( aArg.length()>0 )
@@ -278,12 +278,12 @@ public class Main {
System.out.println( "-h: Print this help and exit" );
System.out.println( "-o: Store validation errors in <outputfile>" );
System.out.println( "-r: Process directory recursively" );
- System.out.println( "-s: Validate against strict schema (ODF 1.2 documents only)" );
+ System.out.println( "-s: Validate against strict schema (ODF 1.0/1.1 documents only)" );
System.out.println( "-v: Verbose output, including generator and warnings" );
System.out.println( "-w: Print warnings" );
System.out.println( "-x: Exclude paths that match <regexp>" );
System.out.println();
- System.out.println( "If no option is provided, <odffiles> are validated using <schemafile>" );
+ System.out.println( "If no option is provided, <odffiles> are validated using the schemas matching the detected ODF version of the files" );
}
}
--
1.7.7.6