summaryrefslogtreecommitdiffstats
path: root/stdlib/arg.ml
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2013-03-09 22:38:52 +0000
committerDamien Doligez <damien.doligez-inria.fr>2013-03-09 22:38:52 +0000
commitc63f9e09579ba88c4b9510ccce062fbc767fd3a6 (patch)
treea9a7f7ef5f2c1a7d84ba7034e3ed12422800ec96 /stdlib/arg.ml
parentfb36548704ce096310707204c77218fe4d69f069 (diff)
fix a few problems with whitespace and over-long lines
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13393 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/arg.ml')
-rw-r--r--stdlib/arg.ml7
1 files changed, 4 insertions, 3 deletions
diff --git a/stdlib/arg.ml b/stdlib/arg.ml
index 0602f6103..b49c04a13 100644
--- a/stdlib/arg.ml
+++ b/stdlib/arg.ml
@@ -64,9 +64,10 @@ let make_symlist prefix sep suffix l =
let print_spec buf (key, spec, doc) =
if String.length doc > 0 then
match spec with
- | Symbol (l, _) -> bprintf buf " %s %s%s\n" key (make_symlist "{" "|" "}" l)
- doc
- | _ -> bprintf buf " %s %s\n" key doc
+ | Symbol (l, _) ->
+ bprintf buf " %s %s%s\n" key (make_symlist "{" "|" "}" l) doc
+ | _ ->
+ bprintf buf " %s %s\n" key doc
;;
let help_action () = raise (Stop (Unknown "-help"));;