summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2019-03-24 12:37:20 +0100
committerChristoph Reiter <reiter.christoph@gmail.com>2019-03-24 12:37:20 +0100
commite695a4fec2b44117d0fbe800eae20d7e87e9bcc5 (patch)
tree881477a5700e29b60ddd4de28b13b0466d9c7a8a
parentc0beff705c4c67f6ffe33abbe52a8dd9a30903ab (diff)
downloadgobject-introspection-e695a4fec2b44117d0fbe800eae20d7e87e9bcc5.tar.gz
docs: include '--c-include' in g-ir-scanner man page. Fixes #275
-rw-r--r--docs/g-ir-scanner.14
-rw-r--r--docs/website/tools/g-ir-scanner.rst4
2 files changed, 8 insertions, 0 deletions
diff --git a/docs/g-ir-scanner.1 b/docs/g-ir-scanner.1
index 2078d927..c890291e 100644
--- a/docs/g-ir-scanner.1
+++ b/docs/g-ir-scanner.1
@@ -90,6 +90,10 @@ Include this directory in the list of directories to be searched for
header files. You need to pass to the scanner all the directories you\(aqd
normally pass to the compiler when using the specified source files.
.TP
+.BI \-\-c\-include\fB= C_INCLUDES
+Headers which should be included in C programs. This option can be
+specified multiple times to include more than one header.
+.TP
.BI \-n\fP,\fB \-\-namespace\fB= NAME
The namespace name. This name should be capitalized, eg the first letter
should be upper case. Examples: Gtk, Clutter, WebKit.
diff --git a/docs/website/tools/g-ir-scanner.rst b/docs/website/tools/g-ir-scanner.rst
index d59e7ccc..fc6abe3e 100644
--- a/docs/website/tools/g-ir-scanner.rst
+++ b/docs/website/tools/g-ir-scanner.rst
@@ -75,6 +75,10 @@ OPTIONS
header files. You need to pass to the scanner all the directories you'd
normally pass to the compiler when using the specified source files.
+--c-include=C_INCLUDES
+ Headers which should be included in C programs. This option can be
+ specified multiple times to include more than one header.
+
-n, --namespace=NAME
The namespace name. This name should be capitalized, eg the first letter
should be upper case. Examples: Gtk, Clutter, WebKit.