diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2019-03-02 20:56:27 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2019-03-17 19:40:19 +0100 |
commit | f4b86c1e2aa0b74f843fc64de919390f6af46952 (patch) | |
tree | ce7956a087ac62d0e441b59746e058fa0276c602 /valadoc | |
parent | 1229ead2f945d913b3264f898f363aa4bf46f217 (diff) | |
download | vala-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.vala | 2 |
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 } |