Skip to content
Snippets Groups Projects
Commit d2b7fc6f authored by Michele Alberti's avatar Michele Alberti
Browse files

[kernel] Reformulate the -warn-special-float help message to respect the order of possible options.

parent 61a08a25
No related branches found
No related tags found
No related merge requests found
......@@ -1414,8 +1414,8 @@ module SpecialFloat =
let option_name = "-warn-special-float"
let default = "non-finite"
let arg_name = "none|nan|non-finite"
let help = "generate alarms when special floats are produced: \
infinite floats or NaN (by default), only on NaN or never."
let help = "generate alarms when special floats are produced: never, \
only on NaN, or on infinite floats and NaN (by default)."
end)
let () = SpecialFloat.set_possible_values ["none"; "nan"; "non-finite"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment