From: Nicolas Williams Date: Thu, 21 Feb 2019 01:54:06 +0000 (-0600) Subject: Fix if-then-else example formatting X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=048acee39babe759d1db0f32f263857c27361746;p=jq Fix if-then-else example formatting --- diff --git a/docs/content/3.manual/manual.yml b/docs/content/3.manual/manual.yml index 011218f..150565b 100644 --- a/docs/content/3.manual/manual.yml +++ b/docs/content/3.manual/manual.yml @@ -2062,14 +2062,13 @@ sections: More cases can be added to an if using `elif A then B` syntax. examples: - - program: |- - if . == 0 then + - program: 'if . == 0 then "zero" elif . == 1 then "one" else "many" - end + end' input: 2 output: ['"many"']