summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Zidek <mzidek@redhat.com>2012-10-01 11:53:00 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-10-01 22:05:28 +0200
commita20fff2d9a99e75b475b12bf212de4d608c166bd (patch)
treea3b3b62591efe18aa346dbc832eeda64b420dabf
parente9cbbaf5b12a2d7aad69337d9d396449068a7786 (diff)
downloadsssd-a20fff2d9a99e75b475b12bf212de4d608c166bd.tar.gz
sssd-a20fff2d9a99e75b475b12bf212de4d608c166bd.tar.xz
sssd-a20fff2d9a99e75b475b12bf212de4d608c166bd.zip
Change option to display help message in man pages.
POPT_AUTOHELP generates -? and --help options and not -h to display help message. https://fedorahosted.org/sssd/ticket/1546
-rw-r--r--src/man/include/param_help.xml2
-rw-r--r--src/man/include/param_help_py.xml10
-rw-r--r--src/man/sss_obfuscate.8.xml2
3 files changed, 12 insertions, 2 deletions
diff --git a/src/man/include/param_help.xml b/src/man/include/param_help.xml
index a2478bf28..d28020bf7 100644
--- a/src/man/include/param_help.xml
+++ b/src/man/include/param_help.xml
@@ -1,6 +1,6 @@
<varlistentry>
<term>
- <option>-h</option>,<option>--help</option>
+ <option>-?</option>,<option>--help</option>
</term>
<listitem>
<para>
diff --git a/src/man/include/param_help_py.xml b/src/man/include/param_help_py.xml
new file mode 100644
index 000000000..a2478bf28
--- /dev/null
+++ b/src/man/include/param_help_py.xml
@@ -0,0 +1,10 @@
+<varlistentry>
+ <term>
+ <option>-h</option>,<option>--help</option>
+ </term>
+ <listitem>
+ <para>
+ Display help message and exit.
+ </para>
+ </listitem>
+</varlistentry>
diff --git a/src/man/sss_obfuscate.8.xml b/src/man/sss_obfuscate.8.xml
index 7b152fad3..eeea5fa16 100644
--- a/src/man/sss_obfuscate.8.xml
+++ b/src/man/sss_obfuscate.8.xml
@@ -57,7 +57,7 @@
<refsect1 id='options'>
<title>OPTIONS</title>
<variablelist remap='IP'>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="include/param_help.xml" />
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="include/param_help_py.xml" />
<varlistentry>
<term>
<option>-s</option>,<option>--stdin</option>