Mercurial > hg > rc1
comparison vendor/pear/console_commandline/tests/console_commandline_webrequest_2.phpt @ 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 --TEST-- | |
2 Test for Console_CommandLine::parse() with a web request 2 | |
3 --GET-- | |
4 help | |
5 --FILE-- | |
6 <?php | |
7 | |
8 require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'tests.inc.php'; | |
9 | |
10 $parser = buildParser1(); | |
11 $parser->parse(); | |
12 | |
13 ?> | |
14 --EXPECT-- | |
15 Description of our parser goes here... | |
16 | |
17 Usage: | |
18 some_program [options] simple [multiple1 multiple2 ...] | |
19 | |
20 Options: | |
21 -t, --true test the StoreTrue action | |
22 -f, --false test the StoreFalse action | |
23 --int=INT test the StoreInt action | |
24 --float=FLOAT test the StoreFloat action | |
25 -s STRING, --string=STRING test the StoreString action | |
26 -c, --counter test the Counter action | |
27 --callback=callback test the Callback action | |
28 -a ARRAY, --array=ARRAY test the StoreArray action | |
29 -p password, --password=password test the Password action | |
30 -h, --help show this help message and exit | |
31 -v, --version show the program version and exit | |
32 | |
33 Arguments: | |
34 simple test a simple argument | |
35 multiple test a multiple argument |