From 977e91d0aa5cfece962fc82e3fd42402918663c8 Mon Sep 17 00:00:00 2001 From: Hugo Herbelin Date: Tue, 6 Sep 2016 18:42:52 +0200 Subject: A proposal to unify the messages given by Test and Print Options (#5062). --- library/goptions.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'library/goptions.ml') diff --git a/library/goptions.ml b/library/goptions.ml index 0459417fb..1cf25987b 100644 --- a/library/goptions.ml +++ b/library/goptions.ml @@ -365,8 +365,8 @@ let set_string_option_value = set_string_option_value_gen None let msg_option_value (name,v) = match v with - | BoolValue true -> str "true" - | BoolValue false -> str "false" + | BoolValue true -> str "on" + | BoolValue false -> str "off" | IntValue (Some n) -> int n | IntValue None -> str "undefined" | StringValue s -> str s -- cgit v1.2.3