summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2019-03-02 20:56:27 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2019-03-17 19:40:19 +0100
commitf4b86c1e2aa0b74f843fc64de919390f6af46952 (patch)
treece7956a087ac62d0e441b59746e058fa0276c602 /doc
parent1229ead2f945d913b3264f898f363aa4bf46f217 (diff)
downloadvala-f4b86c1e2aa0b74f843fc64de919390f6af46952.tar.gz
vala: Add support for --target-glib=auto
Determine target-glib according to the available version of glib-2.0. Fixes https://gitlab.gnome.org/GNOME/vala/issues/761
Diffstat (limited to 'doc')
-rw-r--r--doc/valac.12
-rw-r--r--doc/valadoc.12
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/valac.1 b/doc/valac.1
index 275fa6c28..3c738eb94 100644
--- a/doc/valac.1
+++ b/doc/valac.1
@@ -182,7 +182,7 @@ or \fB--no-color\fR are declared then \fB--color\fR=\fIauto\fR is used where
output is colored when stderr is a terminal.
.RE
.TP
-\fB\-\-target\-glib\fR=\fI\,MAJOR\/\fR.MINOR
+\fB\-\-target\-glib=\fR'MAJOR.MINOR', or 'auto'
Target version of glib for code generation
.TP
\fB\-\-gresources\fR=\fI\,FILE\/\fR...
diff --git a/doc/valadoc.1 b/doc/valadoc.1
index 61260e4c8..45d50afad 100644
--- a/doc/valadoc.1
+++ b/doc/valadoc.1
@@ -107,7 +107,7 @@ Show all warnings
\fB\-\-no\-color\fR
Disable colored output
.TP
-\fB\-\-target\-glib\fR=\fI\,MAJOR\/\fR.MINOR
+\fB\-\-target\-glib=\fR'MAJOR.MINOR', or 'auto'
Target version of glib for code generation
.SH BUGS
https://gitlab.gnome.org/GNOME/vala/issues