Commit 18fa2c99 authored by Benoit Mortier's avatar Benoit Mortier
Browse files

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

Showing with 58 additions and 10 deletions
+58 -10
...@@ -291,14 +291,39 @@ fusiondirectory-insert-schema [<path of your schema files>] [-l] [-i|-m schema1 ...@@ -291,14 +291,39 @@ fusiondirectory-insert-schema [<path of your schema files>] [-l] [-i|-m schema1
=head1 DESCRIPTION =head1 DESCRIPTION
This program will insert the schema needed by FusionDirectory into the ldap server 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 =head2 Options
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 =over 6
You can use -o to give specifics options to give to ldap commands such as ldapmodify,
=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. 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 =head1 EXAMPLES
fusion@catbert$ fusiondirectory-insert-schema 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: .\" Standard preamble:
.\" ======================================================================== .\" ========================================================================
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
.\" ======================================================================== .\" ========================================================================
.\" .\"
.IX Title "FUSIONDIRECTORY-INSERT-SCHEMA 1" .IX Title "FUSIONDIRECTORY-INSERT-SCHEMA 1"
.TH FUSIONDIRECTORY-INSERT-SCHEMA 1 "2013-09-30" "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 .\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents. .\" way too many mistakes in technical documents.
.if n .ad l .if n .ad l
...@@ -133,11 +133,31 @@ ...@@ -133,11 +133,31 @@
fusiondirectory\-insert\-schema \- insert schema needed by FusionDirectory into the ldap server fusiondirectory\-insert\-schema \- insert schema needed by FusionDirectory into the ldap server
.SH "SYNOPSIS" .SH "SYNOPSIS"
.IX Header "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" .SH "DESCRIPTION"
.IX Header "DESCRIPTION" .IX Header "DESCRIPTION"
This program will insert the schema needed by FusionDirectory into the ldap server 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" .SH "EXAMPLES"
.IX Header "EXAMPLES" .IX Header "EXAMPLES"
.Vb 2 .Vb 2
...@@ -152,6 +172,9 @@ If \-i is specified, insert the given list of schemas instead of the default lis ...@@ -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 \& fusion@catbert$ fusiondirectory\-insert\-schema \-i myschema
\& Insert the schema myschema.ldif from working directory \& 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 .Ve
.SH "BUGS" .SH "BUGS"
.IX Header "BUGS" .IX Header "BUGS"
......
  • bmortier @bmortier

    mentioned in issue #1141

    By bmortier on 2017-09-02T15:14:28 (imported from GitLab)

    ·

    mentioned in issue #1141

    By bmortier on 2017-09-02T15:14:28 (imported from GitLab)

    Toggle commit list
Supports Markdown
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