Skip to content

Commit 23e719a

Browse files
authored
Remove duplicate --error-trace from man page (#16133)
1 parent 6427110 commit 23e719a

File tree

2 files changed

+6
-13
lines changed

2 files changed

+6
-13
lines changed

doc/man/crystal-build.adoc

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ require them to stay enabled). `--frame-pointers=always` will always preserve th
4444
Format of output. Defaults to text. The json format can be used
4545
to get a more parser-friendly output.
4646
*--error-trace*::
47-
Show full error trace.
47+
Show full error trace. Disabled by default, as the full trace
48+
usually makes error messages less readable and may not always deliver
49+
relevant information.
4850
*--ll*:: Dump LLVM assembly file to output directory.
4951
*--link-flags* _FLAGS_::
5052
Pass additional flags to the linker. Though you can specify those
@@ -83,10 +85,6 @@ source code file.
8385
details.
8486
*--release*::
8587
Compile in release mode. Equivalent to *-O3 --single-module*
86-
*--error-trace*::
87-
Show full stack trace. Disabled by default, as the full trace
88-
usually makes error messages less readable and not always deliver
89-
relevant information.
9088
*-s*, *--stats*::
9189
Print statistics about the different compiler stages for the current build. Output time and used memory for each compiler process.
9290
*-p*, *--progress*::

man/crystal.1

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,9 @@ to get a more parser\-friendly output.
183183
.sp
184184
\fB\-\-error\-trace\fP
185185
.RS 4
186-
Show full error trace.
186+
Show full error trace. Disabled by default, as the full trace
187+
usually makes error messages less readable and may not always deliver
188+
relevant information.
187189
.RE
188190
.sp
189191
\fB\-\-ll\fP
@@ -259,13 +261,6 @@ details.
259261
Compile in release mode. Equivalent to \fB\-O3 \-\-single\-module\fP
260262
.RE
261263
.sp
262-
\fB\-\-error\-trace\fP
263-
.RS 4
264-
Show full stack trace. Disabled by default, as the full trace
265-
usually makes error messages less readable and not always deliver
266-
relevant information.
267-
.RE
268-
.sp
269264
\fB\-s\fP, \fB\-\-stats\fP
270265
.RS 4
271266
Print statistics about the different compiler stages for the current build. Output time and used memory for each compiler process.

0 commit comments

Comments
 (0)