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 22<symfony>
33 <commands>
44 <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>
68 <description>Displays help for a command</description>
79 <help>The <info>help</info> command displays help for a given command:
810
1315 <info>php app/console help --format=xml list</info>
1416
1517 To display the list of available commands, please use the <info>list</info> command.</help>
16- <aliases />
1718 <arguments>
1819 <argument name="command_name" is_required="0" is_array="0">
1920 <description>The command name</description>
5960 </options>
6061</command>
6162 <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>
6366 <description>Lists commands</description>
6467 <help>The <info>list</info> command lists all commands:
6568
7679 It's also possible to get raw list of commands (useful for embedding command runner):
7780
7881 <info>php app/console list --raw</info></help>
79- <aliases/>
8082 <arguments>
8183 <argument name="namespace" is_required="0" is_array="0">
8284 <description>The namespace name</description>
99101 </options>
100102</command>
101103 <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>
103108 <description>The foo:bar command</description>
104109 <help/>
105- <aliases>
106- <alias>afoobar</alias>
107- </aliases>
108110 <arguments/>
109111 <options>
110112 <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 22<symfony>
33 <commands namespace="foo">
44 <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>
69 <description>The foo:bar command</description>
710 <help/>
8- <aliases>
9- <alias>afoobar</alias>
10- </aliases>
1111 <arguments/>
1212 <options>
1313 <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 11<comment>Usage:</comment>
22 namespace:name
3-
4- <comment>Aliases:</comment> <info>name</info>
3+ name
54
65<comment>Arguments:</comment>
76 <info>command</info> The command to execute
Original file line number Diff line number Diff line change 11<?xml version="1.0" encoding="UTF-8"?>
22<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>
47 <description>description</description>
58 <help>help</help>
6- <aliases>
7- <alias>name</alias>
8- </aliases>
99 <arguments>
1010 <argument name="command" is_required="1" is_array="0">
1111 <description>The command to execute</description>
You can’t perform that action at this time.
0 commit comments