From 9a468401924c1d97d673157086b0a2dafc0ae704 Mon Sep 17 00:00:00 2001 From: Thilo Schaper Date: Wed, 21 Apr 2021 22:54:56 +0200 Subject: [PATCH] remove unused option '-recurse' from usage listing --- src/net/sourceforge/plantuml/Option.java | 2 -- src/net/sourceforge/plantuml/OptionPrint.java | 1 - 2 files changed, 3 deletions(-) diff --git a/src/net/sourceforge/plantuml/Option.java b/src/net/sourceforge/plantuml/Option.java index 3a50a8e86..c98a87121 100644 --- a/src/net/sourceforge/plantuml/Option.java +++ b/src/net/sourceforge/plantuml/Option.java @@ -191,8 +191,6 @@ public class Option { } else if (s.startsWith("-o") && s.length() > 3) { s = s.substring(2); outputDir = new File(StringUtils.eventuallyRemoveStartingAndEndingDoubleQuote(s)); - } else if (s.equalsIgnoreCase("-recurse") || s.equalsIgnoreCase("-r")) { - // recurse = true; } else if (s.equalsIgnoreCase("-exclude") || s.equalsIgnoreCase("-x")) { i++; if (i == arg.length) { diff --git a/src/net/sourceforge/plantuml/OptionPrint.java b/src/net/sourceforge/plantuml/OptionPrint.java index 9588a1713..b228483f7 100644 --- a/src/net/sourceforge/plantuml/OptionPrint.java +++ b/src/net/sourceforge/plantuml/OptionPrint.java @@ -101,7 +101,6 @@ public class OptionPrint { System.out.println(" -o[utput] \"dir\"\tTo generate images in the specified directory"); System.out.println(" -DVAR1=value\tTo set a preprocessing variable as if '!define VAR1 value' were used"); System.out.println(" -Sparam1=value\tTo set a skin parameter as if 'skinparam param1 value' were used"); - System.out.println(" -r[ecurse]\t\trecurse through directories"); // System.out.println(" -config \"file\"\tTo read the provided config file // before each diagram"); final char separator = SFile.separatorChar;