File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 Commons CLI supports different types of options:
3535 </p >
3636 <ul >
37- <li >POSIX like options, for example<code >tar -zxvf foo.tar.gz</code ></li >
38- <li >GNU like long options, for example<code >du --human-readable --max-depth=1</code ></li >
39- <li >Java like properties, for example<code >java -Djava.awt.headless=true -Djava.net.useSystemProxies=true Foo</code ></li >
40- <li >Short options with value attached, for example<code >gcc -O2 foo.c</code ></li >
41- <li >long options with single hyphen, for example<code >ant -projecthelp</code ></li >
37+ <li >POSIX like options, for example <code >tar -zxvf foo.tar.gz</code ></li >
38+ <li >GNU like long options, for example <code >du --human-readable --max-depth=1</code ></li >
39+ <li >Java like properties, for example <code >java -Djava.awt.headless=true -Djava.net.useSystemProxies=true Foo</code ></li >
40+ <li >Short options with value attached, for example <code >gcc -O2 foo.c</code ></li >
41+ <li >long options with single hyphen, for example <code >ant -projecthelp</code ></li >
4242 </ul >
4343 <p >
4444 A typical help message displayed by Commons CLI looks like this:
You can’t perform that action at this time.
0 commit comments