| Summary: | RFE: Print help for cli rhc app cartridge add | ||
|---|---|---|---|
| Product: | OKD | Reporter: | Kenny Woodson <kwoodson> |
| Component: | oc | Assignee: | John (J5) Palmieri <johnp> |
| Status: | CLOSED WONTFIX | QA Contact: | libra bugs <libra-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 2.x | CC: | abhgupta, jkeck, rmillner |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-09-11 02:09:19 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
Kenny Woodson
2012-04-16 14:49:17 UTC
Just a note: When you execute "rhc app cartridge" its not the help/usage that is being displayed, but rather the "rhc app cartridge list" command that is being executed as the "default". Hence examples perhaps don't belong there. If one is looking for help, one can run "rhc app cartridge --help". If this is getting confusing, we should get rid of these "default" operations and force the user to explicitly specify the command like "rhc app cartridge list" and display usage/help if the "list" action is missing. On the other hand, what is really required, I believe is command level help - "rhc app cartridge --help" should give the usage/help info for cartridge operations only and "rhc app create --help" should give help on application creation. This was something that I just did not have time to implement when I first worked on the new CLI tools format. Though, command level help is a separate feature unto itself. Command level help is something I have in mind for the reorg of the tools. Moving to Commander should make this easier. Every option should be specified with help documentation and the "usage" output should be compiled from that instead of us hard coding it as we do now. I would like to punt this bug into the reorg story unless we think this is important enough to address in the legacy bits. so in the new model rhc help cartridge or rhc cartridge help will print out help. Closing this as wontfix for legacy. |