Mercurial > hg > rc1
comparison vendor/pear/console_commandline/docs/examples/ex5.xml @ 0:1e000243b222
vanilla 1.3.3 distro, I hope
| author | Charlie Root |
|---|---|
| date | Thu, 04 Jan 2018 15:50:29 -0500 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:1e000243b222 |
|---|---|
| 1 <?xml version="1.0" encoding="utf-8" standalone="yes"?> | |
| 2 <command> | |
| 3 <description>A great program that can list foo elements !</description> | |
| 4 <version>1.0.0</version> | |
| 5 <option name="verbose"> | |
| 6 <short_name>-v</short_name> | |
| 7 <long_name>--verbose</long_name> | |
| 8 <description>turn on verbose output</description> | |
| 9 <action>StoreTrue</action> | |
| 10 </option> | |
| 11 <command> | |
| 12 <name>list</name> | |
| 13 <description>output the list of foo elements</description> | |
| 14 <argument name="item"> | |
| 15 <description>May be either "foo", "bar", "baz"</description> | |
| 16 <multiple>true</multiple> | |
| 17 <choices> | |
| 18 <choice>foo</choice> | |
| 19 <choice>bar</choice> | |
| 20 <choice>baz</choice> | |
| 21 </choices> | |
| 22 </argument> | |
| 23 </command> | |
| 24 </command> |
