Skip to content

Commit 14afd76

Browse files
committed
improved reference
1 parent 45d2a8c commit 14afd76

File tree

66 files changed

+81
-219
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+81
-219
lines changed

jcp/src/main/java/com/igormaznitsa/jcp/cmdline/ActionPreprocessorExtensionHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class ActionPreprocessorExtensionHandler implements CommandLineHandler {
1111

1212
@Override
1313
public String getDescription() {
14-
return "class to be used for action directives, the class must be in the classpath and contain default constructor.";
14+
return "class for action directives (must be in classpath with default constructor)";
1515
}
1616

1717
@Override

jcp/src/main/java/com/igormaznitsa/jcp/cmdline/AllowMergeBlockLineHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class AllowMergeBlockLineHandler implements CommandLineHandler {
3636

3737
@Override
3838
public String getDescription() {
39-
return "interpret lines marked by //$\"\"\" and //$$\"\"\" as single text block";
39+
return "treat //$\"\"\" and //$$\"\"\" prefixed lines as single text block";
4040
}
4141

4242
@Override

jcp/src/main/java/com/igormaznitsa/jcp/cmdline/AllowWhitespaceDirectiveHandler.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class AllowWhitespaceDirectiveHandler implements CommandLineHandler {
3434

3535
@Override
3636
public String getDescription() {
37-
return "turn on mode to allow whitespace between the // and the #";
37+
return "enable whitespace-tolerant mode between // and #";
3838
}
3939

4040
@Override
@@ -50,7 +50,6 @@ public boolean processCommandLineKey(final String key, final PreprocessorContext
5050
}
5151

5252
@Override
53-
5453
public String getKeyName() {
5554
return ARG_NAME;
5655
}

jcp/src/main/java/com/igormaznitsa/jcp/cmdline/CareForLastEolHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class CareForLastEolHandler implements CommandLineHandler {
2929

3030
@Override
3131
public String getDescription() {
32-
return "carefully reproduce last line aEOL in result";
32+
return "preserve last line EOL in output";
3333
}
3434

3535
@Override

jcp/src/main/java/com/igormaznitsa/jcp/cmdline/DestinationDirectoryHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class DestinationDirectoryHandler implements CommandLineHandler {
3737

3838
@Override
3939
public String getDescription() {
40-
return "define the destination folder (by default " +
40+
return "set destination folder (default " +
4141
PreprocessorContext.DEFAULT_DEST_DIRECTORY + ')';
4242
}
4343

jcp/src/main/java/com/igormaznitsa/jcp/cmdline/DontOverwriteSameContentHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public String getKeyName() {
4040

4141
@Override
4242
public String getDescription() {
43-
return "don't overwrite target file with same content";
43+
return "skip writing target file if content unchanged";
4444
}
4545

4646
@Override

jcp/src/main/java/com/igormaznitsa/jcp/cmdline/ExcludeFoldersHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class ExcludeFoldersHandler implements CommandLineHandler {
3737

3838
@Override
3939
public String getDescription() {
40-
return "folders to be excluded from preprocessing, ANT matcher format allowed. Use system path separator as delimiter.";
40+
return "folders to exclude (ANT pattern, delimited by system path separator)";
4141
}
4242

4343
@Override

jcp/src/main/java/com/igormaznitsa/jcp/cmdline/ExcludedFileExtensionsHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class ExcludedFileExtensionsHandler implements CommandLineHandler {
3939
@Override
4040
public String getDescription() {
4141
return
42-
"comma separated file extensions (case insensitive) to be excluded from preprocess and copy (by default " +
42+
"comma-separated file extensions to exclude (default: " +
4343
String.join(",", PreprocessorContext.DEFAULT_EXCLUDED_EXTENSIONS) + ')';
4444
}
4545

@@ -51,7 +51,7 @@ public boolean processCommandLineKey(final String key, final PreprocessorContext
5151
final String extensions = PreprocessorUtils.extractTrimmedTail(ARG_NAME, key);
5252
if (!extensions.isEmpty()) {
5353
context.setExcludeExtensions(
54-
Arrays.stream(extensions.split("\\,")).map(String::trim).collect(Collectors.toList()));
54+
Arrays.stream(extensions.split(",")).map(String::trim).collect(Collectors.toList()));
5555
result = true;
5656
}
5757
}

jcp/src/main/java/com/igormaznitsa/jcp/cmdline/FileExtensionsHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class FileExtensionsHandler implements CommandLineHandler {
3838

3939
@Override
4040
public String getDescription() {
41-
return "comma separated list of allowed extensions (case insensitive) (by default " +
41+
return "comma-separated allowed extensions (default: " +
4242
String.join(",", PreprocessorContext.DEFAULT_PROCESSING_EXTENSIONS) + ')';
4343
}
4444

jcp/src/main/java/com/igormaznitsa/jcp/cmdline/GlobalVariableDefiningFileHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class GlobalVariableDefiningFileHandler implements CommandLineHandler {
3838

3939
@Override
4040
public String getDescription() {
41-
return "load global variable list from file defined by either path or expression (last one needs @@)";
41+
return "load global variables from file (path or @@expression)";
4242
}
4343

4444
@Override

0 commit comments

Comments
 (0)