From 07e2d01cc49ae2e28ed61c1118d81692a79aeac4 Mon Sep 17 00:00:00 2001
From: bmortier <benoit.mortier@fusiondirectory.org>
Date: Thu, 28 Sep 2023 18:55:52 +0000
Subject: [PATCH] Resolve "the fusiondirectory-schema-manager documentation
 doesn't show all possibilities"

---
 .../fusiondirectory-schema-manager.rst        | 31 ++++++++++++-------
 1 file changed, 19 insertions(+), 12 deletions(-)

diff --git a/source/fusiondirectory-tools/fusiondirectory-schema-manager.rst b/source/fusiondirectory-tools/fusiondirectory-schema-manager.rst
index e1e7accb..63a45330 100644
--- a/source/fusiondirectory-tools/fusiondirectory-schema-manager.rst
+++ b/source/fusiondirectory-tools/fusiondirectory-schema-manager.rst
@@ -10,40 +10,47 @@ ldap server
 Options
 -------
 
+--list-schemas
+   List inserted schemas and the number off attributes and objectClass
+   
 --insert-schema
-   This option insert the given list of schemas instead of the default
-   list
+   Insert the given list of schemas 
 
 --replace-schema
-   This option insert the given list of schemas, replacing already
+   Insert the given list of schemas, replacing already
    inserted versions of those schemas
 
 --empty-schema
-   This option empty the given list of schemas, removing attributes and
-   objectClasses from those. This is useful because you cannot delete a
-   schema without restarting slapd.
+   Empty the given list of schemas, removing attributes and
+   objectClasses from those.
+   This is useful because you cannot delete a schema in openldap < 2.5
 
 --remove-schema
-   This options remove the schema already inserted if LDAP version is higher or equals 2.5.
+   Remove the schema already inserted if LDAP version is higher or equals 2.5.
 
---list-schemas
-   This option list inserted schemas
+--show-schema
+   Show you the content of a schema
 
+--help
+	Show you the inline manual
+
+--verbose
+   verbose output
+   
 Examples
 --------
 
-
 Insert the schema myschema (.ldif or .schema) from working directory
 
 .. code-block:: shell
 
    fusiondirectory-schema-manager --insert-schema myschema.schema
 
-Convert /etc/ldap/otherschema/myschema.schema to ldif and replace the existing schema by this one 
+Replace the existing schema by a new version of the same schema
 
 .. code-block:: shell
 
-   fusiondirectory-schema-manager --replace-schema /etc/ldap/otherschema/myschema.schema
+   fusiondirectory-schema-manager --replace-schema myschema.schema
 
 Empty the schema myschema
 
-- 
GitLab