OpenParsec / openparsec

GNU General Public License v2.0
51 stars 8 forks source link

[#62] Print help to terminal not the logfile #65

Closed mattthias closed 2 years ago

mattthias commented 2 years ago

Use standard printf() to print out the command line help instead using the MSGOUT macro that writes to the logfile.

A user that runs parsec --help wouldn't expect the help in the logs.

Also print the warning for an invalid command line parameter to the terminal.

CrazySpence commented 2 years ago

Looks clean my only question is do those options even work anymore?

uberlinuxguy commented 2 years ago

A good question. Perhaps an issue to go over cmd line options would be a great "First Timer" thing.

uberlinuxguy commented 2 years ago

I am ok to merge this and update the options via another issue/pr. Objections?