summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-06-06 00:03:50 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-06-06 00:03:50 +0000
commitcb20b33b3662a3e7a9844efa3024e8ea02d3edb2 (patch)
treec25b6896ed94e108ed5a3cd39fd7e4d1fbfb3caf
parent3ff0c77d8e35094960c21b67e5eb7371f37418cf (diff)
Update website
-rw-r--r--manual/index.html2
-rw-r--r--manual/v1.5/index.html2
-rw-r--r--manual/v1.6/index.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/manual/index.html b/manual/index.html
index fe7dc9b5..51d344fb 100644
--- a/manual/index.html
+++ b/manual/index.html
@@ -5487,7 +5487,7 @@ structures like <code>reduce</code>, <code>foreach</code>, <code>while</code>, a
<pre><code># Repeat an expression until it raises "break" as an
# error, then stop repeating without re-raising the error.
# But if the error caught is not "break" then re-raise it.
-try repeat(exp) catch .=="break" then empty else error;
+try repeat(exp) catch if .=="break" then empty else error
</code></pre>
<p>jq has a syntax for named lexical labels to "break" or "go (back) to":</p>
<pre><code>label $out | ... break $out ...
diff --git a/manual/v1.5/index.html b/manual/v1.5/index.html
index a6bc9eae..de36e7b6 100644
--- a/manual/v1.5/index.html
+++ b/manual/v1.5/index.html
@@ -4837,7 +4837,7 @@ structures like <code>reduce</code>, <code>foreach</code>, <code>while</code>, a
<pre><code># Repeat an expression until it raises "break" as an
# error, then stop repeating without re-raising the error.
# But if the error caught is not "break" then re-raise it.
-try repeat(exp) catch .=="break" then empty else error;
+try repeat(exp) catch if .=="break" then empty else error
</code></pre>
<p>jq has a syntax for named lexical labels to "break" or "go (back) to":</p>
<pre><code>label $out | ... break $out ...
diff --git a/manual/v1.6/index.html b/manual/v1.6/index.html
index e11f0565..724f90e3 100644
--- a/manual/v1.6/index.html
+++ b/manual/v1.6/index.html
@@ -5355,7 +5355,7 @@ structures like <code>reduce</code>, <code>foreach</code>, <code>while</code>, a
<pre><code># Repeat an expression until it raises "break" as an
# error, then stop repeating without re-raising the error.
# But if the error caught is not "break" then re-raise it.
-try repeat(exp) catch .=="break" then empty else error;
+try repeat(exp) catch if .=="break" then empty else error
</code></pre>
<p>jq has a syntax for named lexical labels to "break" or "go (back) to":</p>
<pre><code>label $out | ... break $out ...