Closed setaur closed 6 years ago
Hi, I'm open to it but what should I put?
I was thinking about something like this:
# ==== Return codes ============================================================
#
# -1: Success but NO subtitles downloaded
# 0: Success and subtitles downloaded
# 2: Failure
Looks great!
Ok I've finally commited the following: (using negative exit code was making me nervous)
# ==== Exit codes ==============================================================
# 0: Success and subtitles downloaded
# 1: Success but no subtitles found
# 2: Failure
I will not release the next version (3.6) right away so you still got time to comment on this ;-)
That will work for me, thanks!
It would be nice to have different than 0 exit code if none subtitles were found.