From 4e07eac35659e681a6c96206d973772171870fe5 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Fri, 29 Nov 2013 16:39:02 -0600 Subject: [PATCH] Document -e / --exit-status argument --- docs/content/3.manual/manual.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/content/3.manual/manual.yml b/docs/content/3.manual/manual.yml index 12920e17..aac9112d 100644 --- a/docs/content/3.manual/manual.yml +++ b/docs/content/3.manual/manual.yml @@ -136,6 +136,13 @@ sections: Read filter from the file rather than from a command line, like awk's -f option. You can also use '#' to make comments. + * `-e` / `--exit-status`: + + Sets the exit status of jq to 10 if the last output values was + `false`, 11 if the last output value was `null`, or 0 if the + last output value was valid. Normally jq exits with 0, or 1 if + there was any usage problem or other error. + * `--arg name value`: This option passes a value to the jq program as a predefined