pronto icon indicating copy to clipboard operation
pronto copied to clipboard

Changing the exit code

Open davejlong opened this issue 9 years ago • 1 comments

To start off, it's handy having the exit code option in the CLI. I'm working on writing Pronto into my Git pre-commit hook that I use across most projects.

Basing exit codes on how many errors were found does break Linux standards for exit codes though. It may not be a huge issue, but if you build Pronto into a service script for SystemD or init.d, you might run into issues. IIRC exit 3 on HP-UX for example will reboot the server, if done from init.d scripts.

Not sure if this is really something that will ever have effects, but it should at least be documented.

davejlong avatar Mar 29 '16 01:03 davejlong

@davejlong :+1:, good points.

Would you create a pull request that expands documentation?

mmozuras avatar Mar 30 '16 19:03 mmozuras