From 35b7e1fba03222ec89d6f7fb1d589246d891c460 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sat, 12 Apr 2014 13:45:32 +0200 Subject: [PATCH] Update README --- README.org | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.org b/README.org index e058546..cf3227f 100644 --- a/README.org +++ b/README.org @@ -33,6 +33,24 @@ executable, or a script running this program (passing along all arguments). +*** Usage + + When used as a git ~commit-msg~ hook it should just be a question of + getting it in the right place and it'll work. If, however, you + have another use for it and need to run it manually, there are + some command-line options that you can use: + + - =-h= :: Show a short help message to help you along. + - =-0= :: Always exit with a ~0~ exit status. + + Some tools, such as the before-mentioned Flycheck, don't like it + when the back-end tool exits with a non-zero exit status and think + that means that the tool failed to run. To keep such tools happy + the =-0= can be used. + + commit check expects the file to check as the last argument on the + command line (or actually, the first non-option argument). + ** License This project is licensed under the GNU GPLv3, its terms and