docs: Update gtk4-builder-tool docs
authorMatthias Clasen <mclasen@redhat.com>
Wed, 19 Oct 2022 12:50:34 +0000 (08:50 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 19 Oct 2022 12:50:34 +0000 (08:50 -0400)
Mention the new --deprecations option of the
validate command.

docs/reference/gtk/gtk4-builder-tool.rst

index 9e011a330f2eb0fe1e7e863834dc80c1304aeb02..b3d08863b2f34009f8c824cd5eecf87bf8f0de43 100644 (file)
@@ -12,7 +12,7 @@ SYNOPSIS
 --------
 |   **gtk4-builder-tool** <COMMAND> [OPTIONS...] <FILE>
 |
-|   **gtk4-builder-tool** validate <FILE>
+|   **gtk4-builder-tool** validate [OPTIONS...] <FILE>
 |   **gtk4-builder-tool** enumerate <FILE>
 |   **gtk4-builder-tool** simplify [OPTIONS...] <FILE>
 |   **gtk4-builder-tool** preview [OPTIONS...] <FILE>
@@ -33,6 +33,10 @@ Validation
 The ``validate`` command validates the given UI definition file and reports
 errors to ``stderr``.
 
+``--deprecations``
+
+  Warn about uses of deprecated types in the UI definition file.
+
 Enumeration
 ^^^^^^^^^^^