Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

zend console routes bug in case "Value Flag, optional, alternative" #6479

Closed
bearded-coder-official opened this issue Jul 21, 2014 · 1 comment

Comments

@bearded-coder-official
Copy link

if we specify route: user get [--username=|--user-id=]

then route matches when we execute command:

user get --username="username1"

but if we execute next command:

user get --user-id="123"

the route doesn't matche!

In addition if we use such route (only flags without values): user get [--username|--user-id] then both routes ("user get --username", "user get --user-id") work as expected.

@GeeH
Copy link

GeeH commented Jun 27, 2016

This issue has been closed as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html

@GeeH GeeH closed this as completed Jun 27, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants