Commit 56950b7a authored by Benoit Mortier's avatar Benoit Mortier
Browse files

Fixes: #3430 fusiondirectory-insert-schema man pages is wrong it misses an OPTIONS section

parent 24fbab1e
......@@ -291,14 +291,39 @@ fusiondirectory-insert-schema [<path of your schema files>] [-l] [-i|-m schema1
=head1 DESCRIPTION
This program will insert the schema needed by FusionDirectory into the ldap server
If -i is specified, insert the given list of schemas instead of the default list
If -m is specified, insert the given list of schemas, replacing already inserted versions of those schemas
If -l is specified, list inserted schemas
If -n is specified, generated ldifs file won’t be deleted after execution. Might be useful to understand errors.
If -c is specified, an error won’t stop the command from continuing with other insertions
You can use -o to give specifics options to give to ldap commands such as ldapmodify,
=head2 Options
=over 6
=item -i
This option insert the given list of schemas instead of the default list
=item -m
This option insert the given list of schemas, replacing already inserted versions of those schemas
=item -l
This option list inserted schemas
=item -n
This option will make generated ldifs file to not be deleted after execution. Might be useful to understand errors.
=item -c
This option make the program continue even if an error occur
=item -o
This option allow you to specify specifics options to give to ldap commands such as ldapmodify,
but beware that you won’t be able to see things like password prompts as the output of these commands is piped.
=back
=head1 EXAMPLES
fusion@catbert$ fusiondirectory-insert-schema
......
.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.14)
.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16)
.\"
.\" Standard preamble:
.\" ========================================================================
......@@ -124,7 +124,7 @@
.\" ========================================================================
.\"
.IX Title "FUSIONDIRECTORY-INSERT-SCHEMA 1"
.TH FUSIONDIRECTORY-INSERT-SCHEMA 1 "2013-04-22" "FusionDirectory 1.0" "FusionDirectory Documentation"
.TH FUSIONDIRECTORY-INSERT-SCHEMA 1 "2014-10-22" "FusionDirectory 1.0" "FusionDirectory Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
......@@ -133,11 +133,31 @@
fusiondirectory\-insert\-schema \- insert schema needed by FusionDirectory into the ldap server
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
fusiondirectory-insert-schema [<path of your schema files>] [\-i schema1 schema2]
fusiondirectory-insert-schema [<path of your schema files>] [\-l] [\-i|\-m schema1 schema2]
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
This program will insert the schema needed by FusionDirectory into the ldap server
If \-i is specified, insert the given list of schemas instead of the default list
.SS "Options"
.IX Subsection "Options"
.IP "\-i" 6
.IX Item "-i"
This option insert the given list of schemas instead of the default list
.IP "\-m" 6
.IX Item "-m"
This option insert the given list of schemas, replacing already inserted versions of those schemas
.IP "\-l" 6
.IX Item "-l"
This option list inserted schemas
.IP "\-n" 6
.IX Item "-n"
This option will make generated ldifs file to not be deleted after execution. Might be useful to understand errors.
.IP "\-c" 6
.IX Item "-c"
This option make the program continue even if an error occur
.IP "\-o" 6
.IX Item "-o"
This option allow you to specify specifics options to give to ldap commands such as ldapmodify,
but beware that you wona\*^XXt be able to see things like password prompts as the output of these commands is piped.
.SH "EXAMPLES"
.IX Header "EXAMPLES"
.Vb 2
......@@ -152,6 +172,9 @@ If \-i is specified, insert the given list of schemas instead of the default lis
\&
\& fusion@catbert$ fusiondirectory\-insert\-schema \-i myschema
\& Insert the schema myschema.ldif from working directory
\&
\& fusion@catbert$ fusiondirectory\-insert\-schema \-m /etc/ldap/otherschema/myschema.schema
\& Convert /etc/ldap/otherschema/myschema.schema to ldif and replace the existing schema by this one
.Ve
.SH "BUGS"
.IX Header "BUGS"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment