pgbackrest.git / summary / log / commit / refs
commit dea48be06dfcd50f48b205f65e45e4dbefa7c37a
Author: David Steele <david@pgmasters.net>
Date: Sun Jul 21 10:01:23 2024 +0000
Fix incorrect examples in doc/test help.
The help for help was copied from core but the examples were not updated.
Update the examples to be appropriate for doc/help.
doc/src/build/help/help.xml | 2 +-
test/src/build/help/help.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/src/build/help/help.xml b/doc/src/build/help/help.xml
index c8af86bee..8df6672fc 100644
--- a/doc/src/build/help/help.xml
+++ b/doc/src/build/help/help.xml
@@ -96,7 +96,7 @@
<summary>Get help.</summary>
<text>
- <p>Three levels of help are provided. If no command is specified then general help will be displayed. If a command is specified (e.g. <cmd>pgbackrest help backup</cmd>) then a full description of the command will be displayed along with a list of valid options. If an option is specified in addition to a command (e.g. <cmd>pgbackrest help backup type</cmd>) then a full description of the option as it applies to the command will be displayed.</p>
+ <p>Three levels of help are provided. If no command is specified then general help will be displayed. If a command is specified (e.g. <cmd>doc-pgbackrest help build</cmd>) then a full description of the command will be displayed along with a list of valid options. If an option is specified in addition to a command (e.g. <cmd>doc-pgbackrest help build repo-path</cmd>) then a full description of the option as it applies to the command will be displayed.</p>
</text>
</command>
diff --git a/test/src/build/help/help.xml b/test/src/build/help/help.xml
index b0c265f37..165fcee08 100644
--- a/test/src/build/help/help.xml
+++ b/test/src/build/help/help.xml
@@ -228,7 +228,7 @@
<summary>Get help.</summary>
<text>
- <p>Three levels of help are provided. If no command is specified then general help will be displayed. If a command is specified (e.g. <cmd>pgbackrest help backup</cmd>) then a full description of the command will be displayed along with a list of valid options. If an option is specified in addition to a command (e.g. <cmd>pgbackrest help backup type</cmd>) then a full description of the option as it applies to the command will be displayed.</p>
+ <p>Three levels of help are provided. If no command is specified then general help will be displayed. If a command is specified (e.g. <cmd>test-pgbackrest help test</cmd>) then a full description of the command will be displayed along with a list of valid options. If an option is specified in addition to a command (e.g. <cmd>pgbackrest help test vm</cmd>) then a full description of the option as it applies to the command will be displayed.</p>
</text>
</command>
[parent: 32a6dd6c3d1b]