Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Default value for Options not returned #30

Copy link
Copy link

Description

@pierluigi
Issue body actions

Setting a default for an option doesn't really seem to do much (besides showing the default value in the help screen:

$arguments->addOption( array('name', 'n'), 
    array(
        'description' => 'Set the name",
        'default' => 'Foo Bar'
    )
));

Doing this:

echo $arguments['name']

returns nothing, but it should return "Foo Bar" unless the default has been overridden.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.