Skip to content

Commit 842c2c1

Browse files
author
nih0n
committed
Show default value of compiler options
1 parent 744aa02 commit 842c2c1

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/misc/compiler_help_output.bsl

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ Copyright (c) Microsoft Corporation. All Rights Reserved.
88
--target:winexe Build a Windows executable
99
--target:library Build a library (Short form: -a)
1010
--target:module Build a module that can be added to another assembly
11-
--delaysign[+|-] Delay-sign the assembly using only the public portion of the strong name key
11+
--delaysign[+|-] Delay-sign the assembly using only the public portion of the strong name key (off by default)
1212
--publicsign[+|-] Public-sign the assembly using only the public portion of the strong name
13-
key, and mark the assembly as signed
13+
key, and mark the assembly as signed (off by default)
1414
--doc:<file> Write the xmldoc of the assembly to the given file
1515
--keyfile:<file> Specify a strong name key file
1616
--platform:<string> Limit which platforms this code can run on: x86, x64, Arm, Arm64, Itanium,
1717
anycpu32bitpreferred, or anycpu. The default is anycpu.
18-
--compressmetadata[+|-] Compress interface and optimization data files
18+
--compressmetadata[+|-] Compress interface and optimization data files (on by default)
1919
--nooptimizationdata Only include optimization information essential for implementing inlined
2020
constructs. Inhibits cross-module inlining but improves binary
2121
compatibility.
@@ -26,7 +26,7 @@ Copyright (c) Microsoft Corporation. All Rights Reserved.
2626
signature files
2727
--nocopyfsharpcore Don't copy FSharp.Core.dll along the produced binaries
2828
--refonly[+|-] Produce a reference assembly, instead of a full assembly, as the primary
29-
output
29+
output (off by default)
3030
--refout:<file> Produce a reference assembly with the specified file path.
3131

3232

@@ -47,41 +47,41 @@ Copyright (c) Microsoft Corporation. All Rights Reserved.
4747

4848

4949
- CODE GENERATION -
50-
--debug[+|-] Emit debug information (Short form: -g)
50+
--debug[+|-] Emit debug information (Short form: -g) (off by default)
5151
--debug:{full|pdbonly|portable|embedded} Specify debugging type: full, portable, embedded, pdbonly. ('full' is the
5252
default if no debugging type specified and enables attaching a debugger to a
5353
running program, 'portable' is a cross-platform format, 'embedded' is a
5454
cross-platform format embedded into the output file).
55-
--embed[+|-] Embed all source files in the portable PDB file
55+
--embed[+|-] Embed all source files in the portable PDB file (off by default)
5656
--embed:<file;...> Embed specific source files in the portable PDB file
5757
--sourcelink:<file> Source link information file to embed in the portable PDB file
58-
--optimize[+|-] Enable optimizations (Short form: -O)
59-
--tailcalls[+|-] Enable or disable tailcalls
58+
--optimize[+|-] Enable optimizations (Short form: -O) (on by default)
59+
--tailcalls[+|-] Enable or disable tailcalls (on by default)
6060
--deterministic[+|-] Produce a deterministic assembly (including module version GUID and
61-
timestamp)
62-
--realsig[+|-] Generate assembly with IL visibility that matches the source code visibility
61+
timestamp) (off by default)
62+
--realsig[+|-] Generate assembly with IL visibility that matches the source code visibility (off by default)
6363
--pathmap:<path=sourcePath;...> Maps physical paths to source path names output by the compiler
64-
--crossoptimize[+|-] Enable or disable cross-module optimizations
64+
--crossoptimize[+|-] Enable or disable cross-module optimizations (on by default)
6565
--reflectionfree Disable implicit generation of constructs using reflection
6666

6767

6868
- ERRORS AND WARNINGS -
69-
--warnaserror[+|-] Report all warnings as errors
70-
--warnaserror[+|-]:<warn;...> Report specific warnings as errors
69+
--warnaserror[+|-] Report all warnings as errors (off by default)
70+
--warnaserror[+|-]:<warn;...> Report specific warnings as errors (off by default)
7171
--warn:<n> Set a warning level (0-5)
7272
--nowarn:<warn;...> Disable specific warning messages
7373
--warnon:<warn;...> Enable specific warnings that may be off by default
74-
--checknulls[+|-] Enable nullness declarations and checks
75-
--consolecolors[+|-] Output warning and error messages in color
74+
--checknulls[+|-] Enable nullness declarations and checks (off by default)
75+
--consolecolors[+|-] Output warning and error messages in color (on by default)
7676

7777

7878
- LANGUAGE -
7979
--langversion:? Display the allowed values for language version.
8080
--langversion:{version|latest|preview} Specify language version such as 'latest' or 'preview'.
81-
--checked[+|-] Generate overflow checks
81+
--checked[+|-] Generate overflow checks (off by default)
8282
--define:<string> Define conditional compilation symbols (Short form: -d)
8383
--mlcompatibility Ignore ML compatibility warnings
84-
--strict-indentation[+|-] Override indentation rules implied by the language version
84+
--strict-indentation[+|-] Override indentation rules implied by the language version (off by default)
8585

8686

8787
- MISCELLANEOUS -
@@ -111,6 +111,6 @@ Copyright (c) Microsoft Corporation. All Rights Reserved.
111111
--staticlink:<file> Statically link the given assembly and all referenced DLLs that depend on
112112
this assembly. Use an assembly name e.g. mylib, not a DLL name.
113113
--pdb:<string> Name the output debug file
114-
--highentropyva[+|-] Enable high-entropy ASLR
114+
--highentropyva[+|-] Enable high-entropy ASLR (off by default)
115115
--subsystemversion:<string> Specify subsystem version of this assembly
116-
--quotations-debug[+|-] Emit debug information in quotations
116+
--quotations-debug[+|-] Emit debug information in quotations (off by default)

0 commit comments

Comments
 (0)