From 42ac4ec00959bd6162076af799023545b698bed9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 26 Jul 2008 21:07:15 -0400 Subject: remove default values in getsetup They were a bit confusing, since they did not actually set the default, and example values are sufficient. --- doc/plugins/write.mdwn | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'doc/plugins') diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn index 9a844ca06..686f7e518 100644 --- a/doc/plugins/write.mdwn +++ b/doc/plugins/write.mdwn @@ -376,7 +376,6 @@ describing the option. For example: return option_foo => { type => "boolean", - default => 0, description => "enable foo", safe => 1, rebuild => 1, @@ -392,8 +391,7 @@ describing the option. For example: * `type` can be "boolean", "string", "integer", "internal" (used for values that are not user-visible). The type is the type of the leaf values; the `%config` option may be an array or hash of these. -* `default` should be set to the default value of the option, if any. -* `example` can be set to an example value, which will not be used by default. +* `example` can be set to an example value. * `description` is a short description of the option. * `safe` should be false if the option should not be displayed in unsafe configuration methods, such as the web interface. Anything that specifies -- cgit v1.2.3