hse
hse copied to clipboard
Consolidate CLI output functions
It seemed like every tool defined its own syntax() and/or fatal(). By making a single a definition for each in libhse-cli, we can cut down all the redefinitions.
This also has the added benefit of reducing the number of tools needing tools/common.c. Less compilation. Yay!
Not in love with output.h, so if someone has a better name I am all for it!
A rare PR where I remove lines of code...
~Last PR. No Mas.~
Changing my mind. Rejecting this PR. This RC is baked. Can't change 45 files hours before QA kicks off a round of tests.
Don't really care if it makes it into the rc. Just posting it to be merged eventually.