[glib] docs: Document the --strict option of glib-compile-schemas



commit 89d46d1bdc49755ff99982fb124ec081a2297c12
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Apr 8 06:38:16 2015 -0400

    docs: Document the --strict option of glib-compile-schemas
    
    Curiously, this option has managed to remain undocumented for
    5 years.

 docs/reference/gio/glib-compile-schemas.xml |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/docs/reference/gio/glib-compile-schemas.xml b/docs/reference/gio/glib-compile-schemas.xml
index 04ed05f..24b3bf5 100644
--- a/docs/reference/gio/glib-compile-schemas.xml
+++ b/docs/reference/gio/glib-compile-schemas.xml
@@ -82,6 +82,14 @@ Store <filename>gschemas.compiled</filename> in the <replaceable>TARGET</replace
 </varlistentry>
 
 <varlistentry>
+<term><option>--strict</option></term>
+<listitem><para>
+Abort on any errors in schemas. Without this option, faulty schema files are
+simply omitted from the resulting compiled schema.
+</para></listitem>
+</varlistentry>
+
+<varlistentry>
 <term><option>--dry-run</option></term>
 <listitem><para>
 Don't write <filename>gschemas.compiled</filename>. This option can be used


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]