Skip to content

Commit

Permalink
Tweak man/manual
Browse files Browse the repository at this point in the history
  • Loading branch information
nojb committed Aug 6, 2021
1 parent 3b22f2f commit 9c9dc85
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 25 deletions.
13 changes: 6 additions & 7 deletions man/ocaml.m
Original file line number Diff line number Diff line change
Expand Up @@ -254,17 +254,16 @@ use heuristics to enable colors only if the output supports them (an
.B never
disable color output.

The default setting is
.B auto,
and the current heuristic
checks that the "TERM" environment variable exists and is
not empty or "dumb", and that isatty(stderr) holds.

The environment variable "OCAML_COLOR" is considered if \-color is not
provided. Its values are auto/always/never as above.

If \-color is not provided, "OCAML_COLOR" is not set and the environment
variable "NO_COLOR" is set, then color output is disabled.
variable "NO_COLOR" is set, then color output is disabled. Otherwise,
the default setting is
.B auto,
and the current heuristic
checks that the "TERM" environment variable exists and is
not empty or "dumb", and that isatty(stderr) holds.

.TP
.BI \-error\-style \ mode
Expand Down
13 changes: 6 additions & 7 deletions man/ocamlc.m
Original file line number Diff line number Diff line change
Expand Up @@ -268,17 +268,16 @@ use heuristics to enable colors only if the output supports them (an
.B never
disable color output.

The default setting is
.B auto,
and the current heuristic
checks that the "TERM" environment variable exists and is
not empty or "dumb", and that isatty(stderr) holds.

The environment variable "OCAML_COLOR" is considered if \-color is not
provided. Its values are auto/always/never as above.

If \-color is not provided, "OCAML_COLOR" is not set and the environment
variable "NO_COLOR" is set, then color output is disabled.
variable "NO_COLOR" is set, then color output is disabled. Otherwise,
the default setting is
.B auto,
and the current heuristic
checks that the "TERM" environment variable exists and is
not empty or "dumb", and that isatty(stderr) holds.

.TP
.BI \-error\-style \ mode
Expand Down
13 changes: 6 additions & 7 deletions man/ocamlopt.m
Original file line number Diff line number Diff line change
Expand Up @@ -224,17 +224,16 @@ use heuristics to enable colors only if the output supports them (an
.B never
disable color output.

The default setting is
.B auto,
and the current heuristic
checks that the "TERM" environment variable exists and is
not empty or "dumb", and that isatty(stderr) holds.

The environment variable "OCAML_COLOR" is considered if \-color is not
provided. Its values are auto/always/never as above.

If \-color is not provided, "OCAML_COLOR" is not set and the environment
variable "NO_COLOR" is set, then color output is disabled.
variable "NO_COLOR" is set, then color output is disabled. Otherwise,
the default setting is
.B auto,
and the current heuristic
checks that the "TERM" environment variable exists and is
not empty or "dumb", and that isatty(stderr) holds.

.TP
.BI \-error\-style \ mode
Expand Down
8 changes: 4 additions & 4 deletions manual/src/cmds/unified-options.etex
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,15 @@ The following modes are supported:
\item["always"] enable colors unconditionally;
\item["never"] disable color output.
\end{description}
The default setting is 'auto', and the current heuristic
checks that the "TERM" environment variable exists and is
not empty or "dumb", and that 'isatty(stderr)' holds.

The environment variable "OCAML_COLOR" is considered if "-color" is not
provided. Its values are auto/always/never as above.

If "-color" is not provided, "OCAML_COLOR" is not set and the environment
variable "NO_COLOR" is set, then color output is disabled.
variable "NO_COLOR" is set, then color output is disabled. Otherwise,
the default setting is 'auto', and the current heuristic
checks that the "TERM" environment variable exists and is
not empty or "dumb", and that 'isatty(stderr)' holds.
}%notop

\notop{%
Expand Down

0 comments on commit 9c9dc85

Please sign in to comment.