pgreco / rpms / ipa

Forked from forks/areguera/rpms/ipa 4 years ago
Clone

Blame SOURCES/0049-Update-ipa-replica-install-documentation.patch

403b09
From 2c82ea7bd562c34fd6ea9476b3b9b25f399bb0f1 Mon Sep 17 00:00:00 2001
403b09
From: Tomas Krizek <tkrizek@redhat.com>
403b09
Date: Fri, 5 Aug 2016 09:25:05 +0200
403b09
Subject: [PATCH] Update ipa-replica-install documentation
403b09
403b09
Update the ipa-replica-install man page and help to reflect that replica_file
403b09
is optional instead of mandatory.
403b09
403b09
https://fedorahosted.org/freeipa/ticket/6164
403b09
403b09
Reviewed-By: Martin Basti <mbasti@redhat.com>
403b09
---
403b09
 install/tools/ipa-replica-install       | 2 +-
403b09
 install/tools/man/ipa-replica-install.1 | 2 +-
403b09
 2 files changed, 2 insertions(+), 2 deletions(-)
403b09
403b09
diff --git a/install/tools/ipa-replica-install b/install/tools/ipa-replica-install
403b09
index 17fc957a583739bbda386676f44209e196282a9a..b3f0361c6577cb693dcc0d81d8ca95b0c220679e 100755
403b09
--- a/install/tools/ipa-replica-install
403b09
+++ b/install/tools/ipa-replica-install
403b09
@@ -27,7 +27,7 @@ ReplicaInstall = cli.install_tool(
403b09
     Replica,
403b09
     command_name='ipa-replica-install',
403b09
     positional_arguments=['replica_file'],
403b09
-    usage='%prog [options] REPLICA_FILE',
403b09
+    usage='%prog [options] [REPLICA_FILE]',
403b09
     log_file_name=paths.IPAREPLICA_INSTALL_LOG,
403b09
     debug_option=True,
403b09
 )
403b09
diff --git a/install/tools/man/ipa-replica-install.1 b/install/tools/man/ipa-replica-install.1
403b09
index 55bae2cb77e1a1c520e0598983b8939a919a9ee9..af37b07956691aeb676bb8e41e90f6ce783a5270 100644
403b09
--- a/install/tools/man/ipa-replica-install.1
403b09
+++ b/install/tools/man/ipa-replica-install.1
403b09
@@ -22,7 +22,7 @@ ipa\-replica\-install \- Create an IPA replica
403b09
 .SH "SYNOPSIS"
403b09
 .SS "DOMAIN LEVEL 0"
403b09
 .TP
403b09
-ipa\-replica\-install [\fIOPTION\fR]... replica_file
403b09
+ipa\-replica\-install [\fIOPTION\fR]... [replica_file]
403b09
 .SS "DOMAIN LEVEL 1"
403b09
 .TP
403b09
 ipa\-replica\-install [\fIOPTION\fR]...
403b09
-- 
403b09
2.7.4
403b09