cemfi / meico

A converter framework with support for MEI, MSM, MPM, MIDI, WAV, MP3, chroma, and XSLT
GNU General Public License v3.0
69 stars 14 forks source link

Return meaningful exit codes #4

Closed sonovice closed 8 years ago

sonovice commented 8 years ago

When meico is used as a command line tool, it should return a meaningful exit code. Example:

 0 - Everything went fine
...
64 - Command line usage error
65 - Input file invalid
66 - Input file not existent or not readable 

A few cases already have de facto standardized exit codes, see http://opensource.apple.com//source/Libc/Libc-320/include/sysexits.h

sonovice commented 8 years ago

fixed in #5 , waiting for pull from develop-cli branch