Menu

#264 sdcc --help goes to stderr and not stdout

None
closed-accepted
None
5
2016-01-18
2016-01-18
No

Hello SDCC team,

Normally a command like "cc --help | less" is a good way to get an overview. However, SDCC puts the text in the wrong stream.

Like GCC and other it should put the text in STDERR when it hits an error, and put the text in STDOUT when a command completes OK.

The following patch makes "sdcc --help | less" and "sdcc --h | less" work as expected.

Thanks,

/pedro

1 Attachments

Discussion

  • Philipp Klaus Krause

    • assigned_to: Philipp Klaus Krause
    • Group: -->
     
  • Philipp Klaus Krause

    • status: open --> closed-accepted
     
  • Philipp Klaus Krause

    Applied in revision #9467. Thanks.

    Philipp

     

Log in to post a comment.