| Summary: | when run `rhc env set= -a $appname`, it return ok and new-added variables can list under `rhc env list ` | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | weiwei jiang <wjiang> |
| Component: | oc | Assignee: | Fabiano Franz <ffranz> |
| Status: | CLOSED WONTFIX | QA Contact: | libra bugs <libra-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 2.x | CC: | dmcphers, jliggitt, wsun |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-06-11 21:41:10 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
weiwei jiang
2013-11-04 06:33:09 UTC
`rhc env set= -a app1` should be invalid syntax. Instead, it is matching the `rhc env set` command, then treating "set=" as an argument as well. Problem is in Commander::Runner.valid_command_names_from, which matches the full command against word boundaries, so "env set\b" matches "env set=". A bug against Commander is probably in order. |