theZiz / aha

Ansi HTML Adapter
Other
915 stars 88 forks source link

Return non-zero on unknown options #38

Closed suve closed 6 years ago

suve commented 6 years ago

This changeset makes the program return a non-zero exit code when encountering unknown options. This makes it easier to detect when the program failed to convert its input to HTML (e.g. in shell scripts).

theZiz commented 6 years ago

Makes sense, thanks!