mirror of
https://github.com/borgbackup/borg.git
synced 2024-09-19 08:18:10 +03:00
docs: skip empty option groups
This commit is contained in:
parent
e869e7dc2f
commit
9d33ff1720
@ -19,8 +19,6 @@ borg benchmark crud
|
||||
+-------------------------------------------------------+----------+------------------------------------------+
|
||||
| | ``PATH`` | path were to create benchmark input data |
|
||||
+-------------------------------------------------------+----------+------------------------------------------+
|
||||
| **optional arguments** |
|
||||
+-------------------------------------------------------+----------+------------------------------------------+
|
||||
| .. class:: borg-common-opt-ref |
|
||||
| |
|
||||
| :ref:`common_options` |
|
||||
|
@ -17,8 +17,6 @@ borg break-lock
|
||||
+-------------------------------------------------------+----------------+-----------------------------------------+
|
||||
| | ``REPOSITORY`` | repository for which to break the locks |
|
||||
+-------------------------------------------------------+----------------+-----------------------------------------+
|
||||
| **optional arguments** |
|
||||
+-------------------------------------------------------+----------------+-----------------------------------------+
|
||||
| .. class:: borg-common-opt-ref |
|
||||
| |
|
||||
| :ref:`common_options` |
|
||||
|
@ -17,8 +17,6 @@ borg change-passphrase
|
||||
+-------------------------------------------------------+----------------+--+
|
||||
| | ``REPOSITORY`` | |
|
||||
+-------------------------------------------------------+----------------+--+
|
||||
| **optional arguments** |
|
||||
+-------------------------------------------------------+----------------+--+
|
||||
| .. class:: borg-common-opt-ref |
|
||||
| |
|
||||
| :ref:`common_options` |
|
||||
|
@ -17,8 +17,6 @@ borg key change-passphrase
|
||||
+-------------------------------------------------------+----------------+--+
|
||||
| | ``REPOSITORY`` | |
|
||||
+-------------------------------------------------------+----------------+--+
|
||||
| **optional arguments** |
|
||||
+-------------------------------------------------------+----------------+--+
|
||||
| .. class:: borg-common-opt-ref |
|
||||
| |
|
||||
| :ref:`common_options` |
|
||||
|
@ -17,8 +17,6 @@ borg key migrate-to-repokey
|
||||
+-------------------------------------------------------+----------------+--+
|
||||
| | ``REPOSITORY`` | |
|
||||
+-------------------------------------------------------+----------------+--+
|
||||
| **optional arguments** |
|
||||
+-------------------------------------------------------+----------------+--+
|
||||
| .. class:: borg-common-opt-ref |
|
||||
| |
|
||||
| :ref:`common_options` |
|
||||
|
@ -19,8 +19,6 @@ borg rename
|
||||
+-------------------------------------------------------+-------------+-----------------------------+
|
||||
| | ``NEWNAME`` | the new archive name to use |
|
||||
+-------------------------------------------------------+-------------+-----------------------------+
|
||||
| **optional arguments** |
|
||||
+-------------------------------------------------------+-------------+-----------------------------+
|
||||
| .. class:: borg-common-opt-ref |
|
||||
| |
|
||||
| :ref:`common_options` |
|
||||
|
@ -12,8 +12,6 @@ borg serve
|
||||
|
||||
.. class:: borg-options-table
|
||||
|
||||
+-------------------------------------------------------+-----------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| **positional arguments** |
|
||||
+-------------------------------------------------------+-----------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| **optional arguments** |
|
||||
+-------------------------------------------------------+-----------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
|
@ -17,8 +17,6 @@ borg umount
|
||||
+-------------------------------------------------------+----------------+----------------------------------------+
|
||||
| | ``MOUNTPOINT`` | mountpoint of the filesystem to umount |
|
||||
+-------------------------------------------------------+----------------+----------------------------------------+
|
||||
| **optional arguments** |
|
||||
+-------------------------------------------------------+----------------+----------------------------------------+
|
||||
| .. class:: borg-common-opt-ref |
|
||||
| |
|
||||
| :ref:`common_options` |
|
||||
|
@ -21,8 +21,6 @@ borg with-lock
|
||||
+-------------------------------------------------------+----------------+--------------------+
|
||||
| | ``ARGS`` | command arguments |
|
||||
+-------------------------------------------------------+----------------+--------------------+
|
||||
| **optional arguments** |
|
||||
+-------------------------------------------------------+----------------+--------------------+
|
||||
| .. class:: borg-common-opt-ref |
|
||||
| |
|
||||
| :ref:`common_options` |
|
||||
|
2
setup.py
2
setup.py
@ -304,6 +304,8 @@ def html_write(s):
|
||||
# (no of columns used, columns, ...)
|
||||
rows.append((1, '.. class:: borg-common-opt-ref\n\n:ref:`common_options`'))
|
||||
else:
|
||||
if not group._group_actions:
|
||||
continue
|
||||
rows.append((1, '**%s**' % group.title))
|
||||
if is_positional_group(group):
|
||||
for option in group._group_actions:
|
||||
|
Loading…
Reference in New Issue
Block a user