-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
oc CMD --help output unreadable and confusing #15474
Comments
Cobra needs to better handle wrapping at terminal width boundaries. |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
/reopen ... This is frustrating. Also, many other programs whose maintainers have had time to get this right put "Examples" at the end. Maybe writing some man pages for oc would be an easy way to fix this, a la |
When using the --help option on with oc and any of the subcommands, the output is very hard to read. It is difficult to discern the options from parts of the paragraph text. This is different from many other command line tools where the options are clearly laid out.
Version
Steps To Reproduce
oc get --help
oroc process --help
, all subcommands are similar.Current Result
Notice how the options are mushed together it's hard to discern if
--output-version
is its own option tooc process
or part of the-o, --output
option.Expected Result
Here are the expected formatting for
oc process --help
. Notice how the options are aligned and the description is clearly set apart. Options that require a specific set of input are denoted at the bottom like FORMATAdditional Information
Here are 2 other examples:
ls --help
anddocker build --help
docker build has a lovely and clean list of parameters. Easy to understand what they do.
The text was updated successfully, but these errors were encountered: