summaryrefslogtreecommitdiff
path: root/src/man
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 /src/man
parente9cbbaf5b12a2d7aad69337d9d396449068a7786 (diff)
downloadsssd-a20fff2d9a99e75b475b12bf212de4d608c166bd.tar.gz
sssd-a20fff2d9a99e75b475b12bf212de4d608c166bd.tar.bz2
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
Diffstat (limited to 'src/man')
-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 a2478bf2..d28020bf 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 00000000..a2478bf2
--- /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 7b152fad..eeea5fa1 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>