ZF-8224: Action Args [--action-args] in help system but don't work

Description

From the help system:


    zf [--global-opts] action-name [--action-opts] provider-name [--provider-opts] [provider parameters ...]
    Note: You may use "?" in any place of the above usage string to ask for more specific help information. 
    Example: "zf ? version" will list all available actions for the version provider.     

However if you specifiy --action-opts, you get an error that the name of given action opts is not a valid provider.

Comments

The correct help should be:


zf [--global-opts] action-name provider-name [--provider-opts] [action parameters ...]

Also --provider-opts does not work.

The action has to have a parameter with the same name for it to work. This is very unintuitive and probably not correct.

The method _parseProviderOptionsPart() should not use Console GetOpt but parse the arguments left and set them as Provider Options.

Currently its really parsing the action arguments and setting them as additional provider arguments, although they are already set as action parameters.

Bulk change of all issues last updated before 1st January 2010 as "Won't Fix".

Feel free to re-open and provide a patch if you want to fix this issue.