From 255bfffed7989a724ff0e75db466a3a6cb8bd3fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20H=C3=B8rl=C3=BCck=20Berg?= <36937807+henrikhorluck@users.noreply.github.com> Date: Tue, 3 May 2022 12:30:59 +0200 Subject: [PATCH] Fix more lost string documentation - Errors from 14d60ccb328fbff47408e914eb8cb27e887669b8 - See: #8928 --- doc_src/cmds/string-collect.rst | 2 +- doc_src/cmds/string-match.rst | 3 ++- doc_src/cmds/string-sub.rst | 2 +- doc_src/cmds/string.rst | 7 ++++--- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/doc_src/cmds/string-collect.rst b/doc_src/cmds/string-collect.rst index ad6d72826..b11d7f27e 100644 --- a/doc_src/cmds/string-collect.rst +++ b/doc_src/cmds/string-collect.rst @@ -8,7 +8,7 @@ Synopsis .. synopsis:: - string collect [-N | --no-trim-newlines] [STRING ...] + string collect [-a | --allow-empty] [-N | --no-trim-newlines] [STRING ...] .. END SYNOPSIS diff --git a/doc_src/cmds/string-match.rst b/doc_src/cmds/string-match.rst index f0d58930a..560aa4315 100644 --- a/doc_src/cmds/string-match.rst +++ b/doc_src/cmds/string-match.rst @@ -9,7 +9,8 @@ Synopsis .. synopsis:: string match [-a | --all] [-e | --entire] [-i | --ignore-case] - [-r | --regex] [-n | --index] [-q | --quiet] [-v | --invert] + [-g | --groups-only] [-r | --regex] [-n | --index] + [-q | --quiet] [-v | --invert] PATTERN [STRING ...] .. END SYNOPSIS diff --git a/doc_src/cmds/string-sub.rst b/doc_src/cmds/string-sub.rst index 04c243eb8..6d6ba10bf 100644 --- a/doc_src/cmds/string-sub.rst +++ b/doc_src/cmds/string-sub.rst @@ -8,7 +8,7 @@ Synopsis .. synopsis:: - string sub [(-s | --start) START] [(-l | --length) LENGTH] + string sub [(-s | --start) START] [(-e | --end) END] [(-l | --length) LENGTH] [-q | --quiet] [STRING ...] .. END SYNOPSIS diff --git a/doc_src/cmds/string.rst b/doc_src/cmds/string.rst index ca4c57821..27b646205 100644 --- a/doc_src/cmds/string.rst +++ b/doc_src/cmds/string.rst @@ -8,14 +8,15 @@ Synopsis .. synopsis:: - string collect [-N | --no-trim-newlines] [STRING ...] + string collect [-a | --allow-empty] [-N | --no-trim-newlines] [STRING ...] string escape [-n | --no-quoted] [--style=] [STRING ...] string join [-q | --quiet] [-n | --no-empty] SEP [STRING ...] string join0 [-q | --quiet] [STRING ...] string length [-q | --quiet] [STRING ...] string lower [-q | --quiet] [STRING ...] string match [-a | --all] [-e | --entire] [-i | --ignore-case] - [-r | --regex] [-n | --index] [-q | --quiet] [-v | --invert] + [-g | --groups-only] [-r | --regex] [-n | --index] + [-q | --quiet] [-v | --invert] PATTERN [STRING ...] string pad [-r | --right] [-c | --char CHAR] [-w | --width INTEGER] [STRING ...] @@ -27,7 +28,7 @@ Synopsis [-q | --quiet] [-r | --right] SEP [STRING ...] string split0 [-f | --fields] FIELDS [(-m | --max) MAX] [-n | --no-empty] [-q | --quiet] [-r | --right] [STRING ...] - string sub [(-s | --start) START] [(-l | --length) LENGTH] + string sub [(-s | --start) START] [(-e | --end) END] [(-l | --length) LENGTH] [-q | --quiet] [STRING ...] string trim [-l | --left] [-r | --right] [(-c | --chars) CHARS] [-q | --quiet] [STRING ...]