octobanana / fltrdr

A TUI text reader for the terminal.
https://octobanana.com/software/fltrdr
MIT License
486 stars 9 forks source link

Make --help output to stdout instead of stderr. #5

Closed joseprrm closed 5 years ago

joseprrm commented 5 years ago

It makes it easier to use a pager like less or more when you want to view the help (because just stdout goes through pipes by default).

octobanana commented 5 years ago

Good catch, makes it easier without having to resort to using 2>&1. I also changed the output to stdout for the version and license options for consistency.

Merged in commit 7bdb05ca9887c4d4f4ffd30394f488aa35c37129.