ftilmann / latexdiff

Compares two latex files and marks up significant differences between them. Releases on www.ctan.org and mirrors
GNU General Public License v3.0
513 stars 72 forks source link

--version and --help should result in exit code 0 (not 1) #248

Closed tdegeus closed 2 years ago

tdegeus commented 2 years ago

In preparing https://github.com/conda-forge/staged-recipes/pull/16914 I noticed that update --help and --version currently die is called which results in a command-line error (exit code 1, and not 0 for normal exit), which it shouldn't: the program stops without as expected.

ftilmann commented 2 years ago

I have changed this now. Normally I am nervous to change the API in case other workflows depend on behaviour but I guess in this instance it makes sense.