From: Didier 'Ptitjes Date: Fri, 16 Oct 2009 17:13:23 +0000 (+0200) Subject: Make protected API documented by default X-Git-Tag: 0.37.1~3^2~558 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb1bfebc06bb6fd93f68d29617300bc24802ac96;p=thirdparty%2Fvala.git Make protected API documented by default --- diff --git a/src/valadoc/valadoc.vala b/src/valadoc/valadoc.vala index 17dcaa6ba..6d95ea121 100755 --- a/src/valadoc/valadoc.vala +++ b/src/valadoc/valadoc.vala @@ -32,7 +32,7 @@ public class ValaDoc : Object { private static string pkg_name = null; private static bool add_inherited = false; - private static bool _protected = false; + private static bool _protected = true; private static bool _internal = false; private static bool with_deps = false; private static bool _private = false; @@ -76,7 +76,7 @@ public class ValaDoc : Object { { "deps", 0, 0, OptionArg.NONE, ref with_deps, "Adds packages to the documentation", null }, { "doclet", 0, 0, OptionArg.STRING, ref pluginpath, "plugin", "Name of an included doclet or path to custom doclet" }, - { "protected", 0, 0, OptionArg.NONE, ref _protected, "Adds protected elements to documentation", null }, + { "no-protected", 0, OptionFlags.REVERSE, OptionArg.NONE, ref _protected, "Removes protected elements from documentation", null }, { "internal", 0, 0, OptionArg.NONE, ref _internal, "Adds internal elements to documentation", null }, { "private", 0, 0, OptionArg.NONE, ref _private, "Adds private elements to documentation", null }, // { "inherit", 0, 0, OptionArg.NONE, ref add_inherited, "Adds inherited elements to a class", null },