jargs.gnu

Class CmdLineParser.NotFlagException

Enclosing Class:
CmdLineParser

public static class CmdLineParser.NotFlagException
extends CmdLineParser.UnknownOptionException

Thrown when the parsed commandline contains multiple concatenated short options, such as -abcd, where one or more requires a value. getMessage() returns an english human-readable error string.
Author:
Vidar Holen

Method Summary

char
getOptionChar()

Methods inherited from class jargs.gnu.CmdLineParser.UnknownOptionException

getOptionName

Method Details

getOptionChar

public char getOptionChar()
Returns:
the first character which wasn't a boolean (e.g 'c')

Copyright © 2001-2003 Steve Purcell. Copyright © 2002 Vidar Holen. Copyright © 2002 Michal Ceresna. Copyright © 2005 Ewan Mellor. Released under the terms of the BSD licence.