-
Notifications
You must be signed in to change notification settings - Fork 900
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
Choco with unknown command should show help menu #938
Comments
Thanks for picking this up! Preferably, I think, it should just show the "Commands" part here and then say something like "Type 'choco /?' for full help". It's supposed to give you a first idea of what you might want to do, so it shouldn't be too much information at once. The full help will almost certainly scroll a page or two in most console windows, and that can be a bit disorienting (I know it is for me). What about |
I believe choco with no arguments is parsed by some tools that use Chocolatey, so I'm not sure about that one. |
Point taken. What about adding a |
Created #944. I thought I had an issue created for that. It looks like it was in my reminders list to create an issue for a "help" command. |
Will provide a more actionable message in 0.10.1. |
When an unknown command is run, provide an actionable message on how to get help instead of just an error.
* stable: (doc) update generated docs for command reference (doc) add source to functions (doc) add new line in helper reference (GH-935) search/info/list --version (doc) provide more awareness about licensed (GH-893) Fix: Help Warns Required Elevated Rights (GH-959) Fix: Licensed feed cannot be disabled (GH-960) Fix: 7z File System Redirection (GH-938) Suggest choco help on unknown command (doc) Synchronizer/Enhancements to Autouninstaller
What You Are Seeing?
choco hi
outputs - Could not find a command registered that meets 'hi'What is Expected?
I should see the help menu
The text was updated successfully, but these errors were encountered: