|
|
@@ -266,7 +266,7 @@ xml;
|
|
|
'choices' => ['aco', 'aro'],
|
|
|
'required' => true,
|
|
|
])
|
|
|
- ->addArgument('other_longer', ['help' => 'Another argument.']);
|
|
|
+ ->addArgument('other_longer', ['help' => 'Another argument.', 'default' => 'foo']);
|
|
|
|
|
|
$formatter = new HelpFormatter($parser);
|
|
|
$result = $formatter->xml();
|
|
|
@@ -295,7 +295,7 @@ xml;
|
|
|
<choice>aro</choice>
|
|
|
</choices>
|
|
|
</argument>
|
|
|
- <argument name="other_longer" help="Another argument." required="0">
|
|
|
+ <argument name="other_longer" help="Another argument." required="0" default="foo">
|
|
|
<choices></choices>
|
|
|
</argument>
|
|
|
</arguments>
|