Browse Source

fix capitalization of -s CLI argument

Jan Wittler 4 years ago
parent
commit
e55d3b30f8
2 changed files with 2 additions and 2 deletions
  1. 1 1
      README.md
  2. 1 1
      cli/src/main/java/de/jplag/CommandLineArgument.java

+ 1 - 1
README.md

@@ -72,7 +72,7 @@ named arguments:
   -bc BC           Path of the directory containing the base code (common framework used in all submissions)
   -v               {quiet,long} Verbosity of the logging (default: quiet)
   -d               Debug parser. Non-parsable files will be stored (default: false)
-  -S S             Look in directories <root-dir>/*/<dir> for programs
+  -s S             Look in directories <root-dir>/*/<dir> for programs
   -p P             comma-separated list of all filename suffixes that are included
   -x X             All files named in this file will be ignored in the comparison (line-separated list)
   -t T             Tunes the comparison sensitivity by adjusting the minimum token  required  to be counted as a matching section. A smaller

+ 1 - 1
cli/src/main/java/de/jplag/CommandLineArgument.java

@@ -42,7 +42,7 @@ public enum CommandLineArgument {
                                                                                                                            // integrating a
     // real logging library
     DEBUG(new Builder("-d", Boolean.class).argumentGroup(ADVANCED_GROUP)),
-    SUBDIRECTORY(new Builder("-S", String.class).argumentGroup(ADVANCED_GROUP)),
+    SUBDIRECTORY(new Builder("-s", String.class).argumentGroup(ADVANCED_GROUP)),
     SUFFIXES(new Builder("-p", String.class).argumentGroup(ADVANCED_GROUP)),
     EXCLUDE_FILE(new Builder("-x", String.class).argumentGroup(ADVANCED_GROUP)),
     MIN_TOKEN_MATCH("-t", Integer.class),