Browse Source

fix rendering of list/rlist help

Thomas Waldmann 2 years ago
parent
commit
9680538a70
5 changed files with 36 additions and 14 deletions
  1. 16 7
      docs/man/borg-list.1
  2. 16 7
      docs/man/borg-rlist.1
  3. 1 0
      docs/usage/list.rst.inc
  4. 1 0
      docs/usage/rlist.rst.inc
  5. 2 0
      src/borg/archiver.py

+ 16 - 7
docs/man/borg-list.1

@@ -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

+ 16 - 7
docs/man/borg-rlist.1

@@ -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

+ 1 - 0
docs/usage/list.rst.inc

@@ -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

+ 1 - 0
docs/usage/rlist.rst.inc

@@ -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

+ 2 - 0
src/borg/archiver.py

@@ -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: