Send --help message to stdout i.s.o stderr #1906

pull laanwj wants to merge 1 commits into bitcoin:master from laanwj:2012_10_help_stdout changing 2 files +2 −2
  1. laanwj commented at 6:00 AM on October 4, 2012: member

    As the list of options is getting very long, there's a large chance it doesn't fit on the terminal at once.

    Sending the output to stdout allows fun stuff such as bitcoin --help | less, and more easy piping to files (yes, technically it's also possible with stderr, but less convenient).

    Looking at other tools such as bash, gcc, they all send their help text to stdout.

  2. Send --help message to stdout i.s.o stderr
    This allows fun stuff such as `bitcoin --help | less`, and more
    easy piping to files.
    
    Looking at other tools such as bash, gcc, they all send their help
    text to stdout.
    bb353618f1
  3. Diapolo commented at 7:42 AM on October 4, 2012: none

    ACK, seems the right thing to do!

  4. BitcoinPullTester commented at 5:46 PM on October 5, 2012: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/bb353618f16d1faf29de2f1fe4ad191122c90c27 for binaries and test log.

  5. gavinandresen commented at 6:00 PM on October 5, 2012: contributor

    ACK

  6. laanwj referenced this in commit ee0b648536 on Oct 5, 2012
  7. laanwj merged this on Oct 5, 2012
  8. laanwj closed this on Oct 5, 2012

  9. laanwj deleted the branch on Apr 9, 2014
  10. KolbyML referenced this in commit 051719e2af on Dec 5, 2020
  11. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me