aboutsummaryrefslogtreecommitdiffhomepage
path: root/library/goptions.ml
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2016-12-15 21:39:52 +0100
committerGravatar Maxime Dénès <mail@maximedenes.fr>2016-12-19 08:40:20 +0100
commit6bc7e65a97c27918ae8d20aade5a2d93bf8127fa (patch)
tree9391bef9fe68c1b38c01d3060d4aec6b03c29856 /library/goptions.ml
parentad768e435a736ca51ac79a575967b388b34918c7 (diff)
Use Pp.quote in string options.
Diffstat (limited to 'library/goptions.ml')
-rw-r--r--library/goptions.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/goptions.ml b/library/goptions.ml
index 7ddf46bdd..1c08b9539 100644
--- a/library/goptions.ml
+++ b/library/goptions.ml
@@ -382,9 +382,9 @@ let msg_option_value (name,v) =
| BoolValue false -> str "off"
| IntValue (Some n) -> int n
| IntValue None -> str "undefined"
- | StringValue s -> str "\"" ++ str s ++ str "\""
+ | StringValue s -> quote (str s)
| StringOptValue None -> str"undefined"
- | StringOptValue (Some s) -> str "\"" ++ str s ++ str "\""
+ | StringOptValue (Some s) -> quote (str s)
(* | IdentValue r -> pr_global_env Id.Set.empty r *)
let print_option_value key =