-
Notifications
You must be signed in to change notification settings - Fork 905
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(GH-468) Log help to standard out, not standard error
Previously, help information was written out to stderr due to how NDesk OptionSet provides the help output. This causes commands such as the following to not page as expected: * `choco list -help | more` * `choco list -help | out-host -paging` Similarly `choco -help | out-file HelpDetails.txt` does not deliver all of the help output to the file. While there is a workaround of using `2>&1` (or `*>&1`) is burdensome for the very people who need help in the first place. Help information should instead be provided in stdout and not in stderr. This allows us to avoid these issues entirely.
- Loading branch information
1 parent
15198fa
commit 40001d0
Showing
4 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters