fix rendering of list/rlist help

This commit is contained in:
Thomas Waldmann 2022-06-26 20:06:58 +02:00
parent a98c6ba479
commit 9680538a70
5 changed files with 36 additions and 14 deletions

View File

@ -144,13 +144,22 @@ $ borg list \-\-format \(aq{mode} {user:>6} {group:>6} {size:<8} {mtime} {path}{
.UNINDENT
.sp
The following keys are always available:
\- NEWLINE: OS dependent line separator
\- NL: alias of NEWLINE
\- NUL: NUL character for creating print0 / xargs \-0 like output, see barchive and bpath keys below
\- SPACE
\- TAB
\- CR
\- LF
.INDENT 0.0
.IP \(bu 2
NEWLINE: OS dependent line separator
.IP \(bu 2
NL: alias of NEWLINE
.IP \(bu 2
NUL: NUL character for creating print0 / xargs \-0 like output, see barchive and bpath keys below
.IP \(bu 2
SPACE
.IP \(bu 2
TAB
.IP \(bu 2
CR
.IP \(bu 2
LF
.UNINDENT
.sp
Keys available only when listing files in an archive:
.INDENT 0.0

View File

@ -116,13 +116,22 @@ ArchiveFoo Thu, 2021\-12\-09 10:22:28 [0b8e9a312bef3f2
.UNINDENT
.sp
The following keys are always available:
\- NEWLINE: OS dependent line separator
\- NL: alias of NEWLINE
\- NUL: NUL character for creating print0 / xargs \-0 like output, see barchive and bpath keys below
\- SPACE
\- TAB
\- CR
\- LF
.INDENT 0.0
.IP \(bu 2
NEWLINE: OS dependent line separator
.IP \(bu 2
NL: alias of NEWLINE
.IP \(bu 2
NUL: NUL character for creating print0 / xargs \-0 like output, see barchive and bpath keys below
.IP \(bu 2
SPACE
.IP \(bu 2
TAB
.IP \(bu 2
CR
.IP \(bu 2
LF
.UNINDENT
.sp
Keys available only when listing archives in a repository:
.INDENT 0.0

View File

@ -103,6 +103,7 @@ Examples:
...
The following keys are always available:
- NEWLINE: OS dependent line separator
- NL: alias of NEWLINE
- NUL: NUL character for creating print0 / xargs -0 like output, see barchive and bpath keys below

View File

@ -99,6 +99,7 @@ Examples:
...
The following keys are always available:
- NEWLINE: OS dependent line separator
- NL: alias of NEWLINE
- NUL: NUL character for creating print0 / xargs -0 like output, see barchive and bpath keys below

View File

@ -4653,6 +4653,7 @@ class Archiver:
The following keys are always available:
""") + BaseFormatter.keys_help() + textwrap.dedent("""
Keys available only when listing files in an archive:
@ -4710,6 +4711,7 @@ class Archiver:
The following keys are always available:
""") + BaseFormatter.keys_help() + textwrap.dedent("""
Keys available only when listing archives in a repository: