File tree Expand file tree Collapse file tree 4 files changed +19
-18
lines changed
src/Symfony/Component/Console/Tests/Fixtures Expand file tree Collapse file tree 4 files changed +19
-18
lines changed Original file line number Diff line number Diff line change 2
2
<symfony>
3
3
<commands>
4
4
<command id="help" name="help">
5
- <usage>help [--xml] [--format FORMAT] [--raw] [--] [<command_name>]</usage>
5
+ <usages>
6
+ <usage>help [--xml] [--format FORMAT] [--raw] [--] [<command_name>]</usage>
7
+ </usages>
6
8
<description>Displays help for a command</description>
7
9
<help>The <info>help</info> command displays help for a given command:
8
10
13
15
<info>php app/console help --format=xml list</info>
14
16
15
17
To display the list of available commands, please use the <info>list</info> command.</help>
16
- <aliases />
17
18
<arguments>
18
19
<argument name="command_name" is_required="0" is_array="0">
19
20
<description>The command name</description>
59
60
</options>
60
61
</command>
61
62
<command id="list" name="list">
62
- <usage>list [--xml] [--raw] [--format FORMAT] [--] [<namespace>]</usage>
63
+ <usages>
64
+ <usage>list [--xml] [--raw] [--format FORMAT] [--] [<namespace>]</usage>
65
+ </usages>
63
66
<description>Lists commands</description>
64
67
<help>The <info>list</info> command lists all commands:
65
68
76
79
It's also possible to get raw list of commands (useful for embedding command runner):
77
80
78
81
<info>php app/console list --raw</info></help>
79
- <aliases/>
80
82
<arguments>
81
83
<argument name="namespace" is_required="0" is_array="0">
82
84
<description>The namespace name</description>
99
101
</options>
100
102
</command>
101
103
<command id="foo:bar" name="foo:bar">
102
- <usage>foo:bar</usage>
104
+ <usages>
105
+ <usage>foo:bar</usage>
106
+ <usage>afoobar</usage>
107
+ </usages>
103
108
<description>The foo:bar command</description>
104
109
<help/>
105
- <aliases>
106
- <alias>afoobar</alias>
107
- </aliases>
108
110
<arguments/>
109
111
<options>
110
112
<option name="--help" shortcut="-h" accept_value="0" is_value_required="0" is_multiple="0">
Original file line number Diff line number Diff line change 2
2
<symfony>
3
3
<commands namespace="foo">
4
4
<command id="foo:bar" name="foo:bar">
5
- <usage>foo:bar</usage>
5
+ <usages>
6
+ <usage>foo:bar</usage>
7
+ <usage>afoobar</usage>
8
+ </usages>
6
9
<description>The foo:bar command</description>
7
10
<help/>
8
- <aliases>
9
- <alias>afoobar</alias>
10
- </aliases>
11
11
<arguments/>
12
12
<options>
13
13
<option name="--help" shortcut="-h" accept_value="0" is_value_required="0" is_multiple="0">
Original file line number Diff line number Diff line change 1
1
<comment>Usage:</comment>
2
2
namespace:name
3
-
4
- <comment>Aliases:</comment> <info>name</info>
3
+ name
5
4
6
5
<comment>Arguments:</comment>
7
6
<info>command</info> The command to execute
Original file line number Diff line number Diff line change 1
1
<?xml version="1.0" encoding="UTF-8"?>
2
2
<command id="namespace:name" name="namespace:name">
3
- <usage>namespace:name</usage>
3
+ <usages>
4
+ <usage>namespace:name</usage>
5
+ <usage>name</usage>
6
+ </usages>
4
7
<description>description</description>
5
8
<help>help</help>
6
- <aliases>
7
- <alias>name</alias>
8
- </aliases>
9
9
<arguments>
10
10
<argument name="command" is_required="1" is_array="0">
11
11
<description>The command to execute</description>
You can’t perform that action at this time.
0 commit comments