-
Notifications
You must be signed in to change notification settings - Fork 440
Closed
Labels
Milestone
Description
def cli = new CliBuilder(name:'ant',
header:'Options:')
cli.help('print this message')
cli.logfile(type:File, argName:'file', 'use given file for log')
cli.D(type:Map, argName:'property=value', args: '+', 'use value for given property')
cli.lib(argName:'path', valueSeparator:',', args: '3',
'comma-separated list of up to 3 paths to search for jars and classes')
Gives usage help:
Usage: ant [-help] [-logfile=<file>] [-lib=<path>[,<path>]... [<path>[,
<path>]... [<path>[,<path>]...]]]... [-D=<property=value>...]...
Options:
-D= <property=value>... use value for given property
-help print this message
-lib=<path>[,<path>]... [<path>[,<path>]... [<path>[,<path>]...]]
comma-separated list of up to 3 paths to search
for jars and classes
-logfile=<file> use given file for log
There are three repetitions of <path>[,<path>]...
which is confusing.