diff --git a/doc/xml/contributing.xml b/doc/xml/contributing.xml
index 119c69b20..5a4a8854b 100644
--- a/doc/xml/contributing.xml
+++ b/doc/xml/contributing.xml
@@ -754,7 +754,7 @@ test/bin/none/pgbackrest help backup repo-type
To quickly view the HTML documentation, the --no-exe option can be passed to the documentation generator in order to bypass executing the code elements:
-pgbackrest/doc/doc.pl --output=html --no-exe
+pgbackrest/doc/doc.pl --out=html --no-exe
The generated HTML files will be placed in the doc/output/html directory where they can be viewed locally in a browser.
diff --git a/doc/xml/user-guide.xml b/doc/xml/user-guide.xml
index 64c9e52d9..0d9807991 100644
--- a/doc/xml/user-guide.xml
+++ b/doc/xml/user-guide.xml
@@ -2871,7 +2871,7 @@
- The pg_hba.conf file must be updated to allow the standby to connect as the replication user. Be sure to replace the IP address below with the actual IP address of your {[host-pg1]}. A reload will be required after modifying the pg_hba.conf file.
+ The pg_hba.conf file must be updated to allow the standby to connect as the replication user. Be sure to replace the IP address below with the actual IP address of your {[host-pg2]}. A reload will be required after modifying the pg_hba.conf file.
Create pg_hba.conf entry for replication user