diff --git a/src/gr/spinellis/umlgraph/doclet/Options.java b/src/gr/spinellis/umlgraph/doclet/Options.java index bd9fcee..ed3526b 100644 --- a/src/gr/spinellis/umlgraph/doclet/Options.java +++ b/src/gr/spinellis/umlgraph/doclet/Options.java @@ -112,8 +112,12 @@ class Options implements Cloneable { showVisibility = true; showType = true; } - - /** Option checking */ + + /** + * Return the number of arguments associated with the specified option. + * The return value includes the actual option. + * Will return 0 if the option is not supported. + */ public static int optionLength(String option) { if(option.equals("-qualify") || option.equals("-horizontal") || diff --git a/src/org/umlgraph/doclet/Options.java b/src/org/umlgraph/doclet/Options.java index bd9fcee..ed3526b 100644 --- a/src/org/umlgraph/doclet/Options.java +++ b/src/org/umlgraph/doclet/Options.java @@ -112,8 +112,12 @@ class Options implements Cloneable { showVisibility = true; showType = true; } - - /** Option checking */ + + /** + * Return the number of arguments associated with the specified option. + * The return value includes the actual option. + * Will return 0 if the option is not supported. + */ public static int optionLength(String option) { if(option.equals("-qualify") || option.equals("-horizontal") ||