summaryrefslogtreecommitdiff
path: root/valadoc
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 /valadoc
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 'valadoc')
-rw-r--r--valadoc/valadoc.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/valadoc/valadoc.vala b/valadoc/valadoc.vala
index 1bb91ff01..6d5093092 100644
--- a/valadoc/valadoc.vala
+++ b/valadoc/valadoc.vala
@@ -117,7 +117,7 @@ public class ValaDoc : Object {
{ "fatal-warnings", 0, 0, OptionArg.NONE, ref fatal_warnings, "Treat warnings as fatal", null },
{ "verbose", 0, 0, OptionArg.NONE, ref verbose, "Show all warnings", null },
{ "no-color", 0, 0, OptionArg.NONE, ref disable_diagnostic_colors, "Disable colored output", null },
- { "target-glib", 0, 0, OptionArg.STRING, ref target_glib, "Target version of glib for code generation", "MAJOR.MINOR" },
+ { "target-glib", 0, 0, OptionArg.STRING, ref target_glib, "Target version of glib for code generation", "'MAJOR.MINOR', or 'auto'" },
{ OPTION_REMAINING, 0, 0, OptionArg.FILENAME_ARRAY, ref tsources, null, "FILE..." },
{ null }