From 31d7a48b6a39579ee086b883cb1a5bcb989b1a55 Mon Sep 17 00:00:00 2001
From: Michele Alberti <michele.alberti@cea.fr>
Date: Sun, 26 Sep 2021 15:14:17 +0200
Subject: [PATCH] Wrap comments.

---
 .ocamlformat | 1 +
 src/main.ml  | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.ocamlformat b/.ocamlformat
index d4d1b6a3..a2874612 100644
--- a/.ocamlformat
+++ b/.ocamlformat
@@ -2,3 +2,4 @@ version=0.19.0
 exp-grouping=preserve
 if-then-else=keyword-first
 max-indent=2
+wrap-comments=true
diff --git a/src/main.ml b/src/main.ml
index 3b9031d9..5e07bf7e 100644
--- a/src/main.ml
+++ b/src/main.ml
@@ -102,8 +102,8 @@ let config_cmd =
            if not detect
            then `Help (`Pager, Some "config")
            else
-             (* TODO: Do not only check for [detect], and enable it by
-                default, as soon as other options are available. *)
+             (* TODO: Do not only check for [detect], and enable it by default,
+                as soon as other options are available. *)
              `Ok (exec_cmd cmdname (fun () -> config true ())))
         $ const cmdname $ detect $ setup_logs)),
     Term.info cmdname ~sdocs:Manpage.s_common_options ~envs ~exits ~doc ~man )
-- 
GitLab