Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jonludlam committed Feb 21, 2025
1 parent a88ffdc commit eb82d50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/model/error.mli
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ val catch_errors_and_warnings : (unit -> 'a) -> 'a with_errors_and_warnings
type warnings_options = {
warn_error : bool; (** If [true], warnings will result in an error. *)
print_warnings : bool; (** Whether to print warnings. *)
warnings_tag : string option; (** Whether to tag references to filter them later. *)
warnings_tag : string option;
(** Whether to tag references to filter them later. *)
}

val handle_warnings :
Expand Down
3 changes: 2 additions & 1 deletion src/odoc/bin/main.ml
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,8 @@ end = struct

let warnings_tags =
let doc =
"Filter warnings that were compiled with a tag that is not in the list of --warnings-tags passed."
"Filter warnings that were compiled with a tag that is not in the list \
of --warnings-tags passed."
in
let env = Arg.env_var "ODOC_WARNINGS_TAGS" ~doc in
Arg.(value & opt_all string [] & info ~docs ~doc ~env [ "warnings-tags" ])
Expand Down

0 comments on commit eb82d50

Please sign in to comment.