-
Notifications
You must be signed in to change notification settings - Fork 441
Closed
Labels
Milestone
Description
E.g.
class App {
@Parameters(arity = "2", split = "\\|", type = {Integer.class, String.class},
paramLabel = "FIXTAG=VALUE",
description = "Exactly two lists of vertical bar '|'-separated FIXTAG=VALUE pairs.")
Map<Integer,String> message;
@Option(names = {"-P", "-map"}, split = ",", type = {TimeUnit.class, String.class},
paramLabel = "TIMEUNIT=VALUE",
description = "Any number of TIMEUNIT=VALUE pairs. These may be specified separately (-PTIMEUNIT=VALUE) or as a comma-separated list.")
Map<TimeUnit, String> map;
}
Should show
Usage: <main class> [-P=TIMEUNIT=VALUE[,TIMEUNIT=VALUE]...]... FIXTAG=VALUE
[\|FIXTAG=VALUE]... FIXTAG=VALUE[\|FIXTAG=VALUE]...
FIXTAG=VALUE[\|FIXTAG=VALUE]... FIXTAG=VALUE[\|FIXTAG=VALUE]...
Exactly two lists of vertical bar '|'-separated
FIXTAG=VALUE pairs.
-P, -map=TIMEUNIT=VALUE[,TIMEUNIT=VALUE]...
Any number of TIMEUNIT=VALUE pairs. These may be
specified separately (-PTIMEUNIT=VALUE) or as a
comma-separated list.
Currently shows
Usage: <main class> [-P=TIMEUNIT=VALUE[,TIMEUNIT=VALUE]...]... FIXTAG=VALUE
[\|FIXTAG=VALUE]... FIXTAG=VALUE[\|FIXTAG=VALUE]...
FIXTAG=VALUE Exactly two lists of vertical bar '|'-separated
FIXTAG=VALUE pairs.
-P, -map=TIMEUNIT=VALUE[,TIMEUNIT=VALUE]...
Any number of TIMEUNIT=VALUE pairs. These may be
specified separately (-PTIMEUNIT=VALUE) or as a
comma-separated list.