aboutsummaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
Diffstat (limited to 'library')
-rw-r--r--library/goptions.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/goptions.ml b/library/goptions.ml
index 75771a52ec..5b18195987 100644
--- a/library/goptions.ml
+++ b/library/goptions.ml
@@ -249,7 +249,7 @@ let declare_option cast uncast
let (gdecl_obj,_) = (* "Global": survives section and modules. *)
declare_object {(default_object ("G "^nickname key)) with
cache_function = (fun (_,v) -> write v);
- classify_function = (fun v -> Keep v);
+ classify_function = (fun v -> Substitute v);
discharge_function = (fun (_,v) -> Some v);
load_function = (fun _ (_,v) -> write v)}
in