@@ -208,7 +208,8 @@ let status_doc ppf = function
208
208
209
209
let generated_flag_doc ~allow_inline ~doc ~kind ~default ~status =
210
210
let default = if default then " set" else " unset" in
211
- Format. asprintf " %s The flag is $(b,%s) by default.%s%a" doc default
211
+ Format. asprintf " %s The flag is $(b,%s) by default.%s%a"
212
+ doc default
212
213
(in_attributes allow_inline kind)
213
214
status_doc status
214
215
@@ -217,7 +218,8 @@ let generated_doc conv ~allow_inline ~doc ~kind ~default ~status =
217
218
let default =
218
219
if String. is_empty default_doc then " none" else default_doc
219
220
in
220
- Format. asprintf " %s The default value is $(b,%s).%s%a" doc default
221
+ Format. asprintf " %s The default value is $(b,%s).%s%a"
222
+ doc default
221
223
(in_attributes allow_inline kind)
222
224
status_doc status
223
225
@@ -325,13 +327,13 @@ module Value = struct
325
327
| Some x -> (name, value, doc, `Deprecated x)
326
328
327
329
let pp_deprecated s ppf {dmsg = msg ; dversion = v } =
328
- Format. fprintf ppf " Value `%s` is deprecated since version %a. %s" s
329
- Version. pp v msg
330
+ Format. fprintf ppf " Value `%s` is deprecated since version %a. %s"
331
+ s Version. pp v msg
330
332
331
333
let pp_deprecated_with_name ~opt ~val_ ppf {dmsg = msg ; dversion = v } =
332
334
Format. fprintf ppf
333
- " option `%s`: value `%s` is deprecated since version %a. %s" opt val_
334
- Version. pp v msg
335
+ " option `%s`: value `%s` is deprecated since version %a. %s"
336
+ opt val_ Version. pp v msg
335
337
336
338
let status_doc s ppf = function
337
339
| `Valid -> ()
@@ -360,8 +362,8 @@ module Value_removed = struct
360
362
| Some {name; version; msg} ->
361
363
Format. kasprintf
362
364
(fun s -> Error (`Msg s))
363
- " value `%s` has been removed in version %a.%s" name Version. pp
364
- version (maybe_empty msg)
365
+ " value `%s` has been removed in version %a.%s"
366
+ name Version. pp version (maybe_empty msg)
365
367
| None -> Arg. conv_parser conv s
366
368
in
367
369
Arg. conv (parse, Arg. conv_printer conv)
0 commit comments