Parchive / par2cmdline

Official repo for par2cmdline and libpar2
http://parchive.sourceforge.net
GNU General Public License v2.0
726 stars 75 forks source link

exit codes from par2 executable not documented? #120

Open FelixSchwarz opened 7 years ago

FelixSchwarz commented 7 years ago

Sometimes "par2" uses a non-zero exit code (6) and I'm trying to find out what this means. Unfortunately it seems like the exit codes are not documented. Anyone who can explain these to me?

FelixSchwarz commented 7 years ago

I think exit code 6 means "unable to read file" / "access denied" but I still think some documentation about that would be great.

tomarus commented 6 years ago

Was looking for them myself and found them here:

https://github.com/Parchive/par2cmdline/blob/master/src/par2cmdline.h#L232

1dolla commented 5 months ago

The header file seems to have been renamed. New location here:

https://github.com/Parchive/par2cmdline/blob/master/src/libpar2.h

Search for typedef enum Result.