Expand comment.

This commit is contained in:
Diomidis Spinellis 2005-12-25 15:42:03 +00:00
parent 6cad56de7a
commit 01a850bf2b
2 changed files with 12 additions and 4 deletions

View File

@ -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") ||

View File

@ -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") ||