Skip to content

Commit 172d1c6

Browse files
cartermpJRAlexander
authored andcommitted
Add preferreduilang to F# compiler options and FSI options table (#4193)
* Add preferreduilang to F# compiler options table * FSI options update with preferreduilang * Feedback
1 parent 4f6855b commit 172d1c6

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

docs/fsharp/language-reference/compiler-options.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ The following table shows compiler options listed alphabetically. Some of the F#
5353
|**--out:&lt;output-filename&gt;**<br /><br />**-o:&lt;output-filename&gt;**|Specifies the name of the compiled assembly or module.<br /><br />This compiler option is equivalent to the C# compiler option of the same name. For more information, see [&#47;out &#40;C&#35; Compiler Options&#41;](https://msdn.microsoft.com/library/bw3t50f3.aspx).|
5454
|**--pdb:&lt;pdb-filename&gt;**|Names the output debug PDB (program database) file. This option only applies when **--debug** is also enabled.<br /><br />This compiler option is equivalent to the C# compiler option of the same name. For more information, see [&#47;pdb &#40;C&#35; Compiler Options&#41;](https://msdn.microsoft.com/library/ms228625.aspx).|
5555
|**--platform:&lt;platform-name&gt;**|Specifies that the generated code will only run on the specified platform (**x86**, **Itanium**, or **x64**), or, if the platform-name **anycpu** is chosen, specifies that the generated code can run on any platform.<br /><br />This compiler option is equivalent to the C# compiler option of the same name. For more information, see [&#47;platform &#40;C&#35; Compiler Options&#41;](https://msdn.microsoft.com/library/zekwfyz4.aspx).|
56+
|**--preferreduilang:&lt;lang&gt;**| Specifies the preferred output language culture name (for example, es-ES, ja-JP). |
5657
|**--quotations-debug**|Specifies that extra debugging information should be emitted for expressions that are derived from F# quotation literals and reflected definitions. The debug information is added to the custom attributes of an F# expression tree node. See [Code Quotations](code-quotations.md) and [Expr.CustomAttributes](https://msdn.microsoft.com/library/eb89943f-5f5b-474e-b125-030ca412edb3).|
5758
|**--reference:&lt;assembly-filename&gt;**<br /><br />**-r** &lt;**assembly-filename&gt;**|Makes code from an F# or .NET Framework assembly available to the code being compiled.<br /><br />This compiler option is equivalent to the C# compiler option of the same name. For more information, see [&#47;reference &#40;C&#35; Compiler Options&#41;](https://msdn.microsoft.com/library/yabyz3h4.aspx).|
5859
|**--resource:&lt;resource-filename&gt;**|Embeds a managed resource file into the generated assembly.<br /><br />This compiler option is equivalent to the C# compiler option of the same name. For more information, see [&#47;resource &#40;C&#35; Compiler Options&#41;](https://msdn.microsoft.com/library/c0tyye07.aspx).|

docs/fsharp/tutorials/fsharp-interactive/fsharp-interactive-options.md renamed to docs/fsharp/language-reference/fsharp-interactive-options.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ Where lists appear in F# Interactive option arguments, list elements are separat
5252
|**--nologo**|Same as the **fsc.exe** compiler option. For more information, see [Compiler Options](../../language-reference/compiler-options.md).|
5353
|**--nowarn:&lt;warning-list&gt;**|Same as the **fsc.exe** compiler option. For more information, see [Compiler Options](../../language-reference/compiler-options.md).|
5454
|**--optimize**[**+**&#124;**-**]|Same as the **fsc.exe** compiler option. For more information, see [Compiler Options](../../language-reference/compiler-options.md).|
55+
|**--preferreduilang:&lt;lang&gt;**| Specifies the preferred output language culture name (for example, es-ES, ja-JP). |
5556
|**--quiet**|Suppress F# Interactive's output to the **stdout** stream.|
5657
|**--quotations-debug**|Specifies that extra debugging information should be emitted for expressions that are derived from F# quotation literals and reflected definitions. The debug information is added to the custom attributes of an F# expression tree node. See [Code Quotations](../../language-reference/code-quotations.md) and [Expr.CustomAttributes](https://msdn.microsoft.com/library/eb89943f-5f5b-474e-b125-030ca412edb3).|
5758
|**--readline**[**+**&#124;**-**]|Enable or disable tab completion in interactive mode.|

docs/fsharp/tutorials/fsharp-interactive/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,5 +94,5 @@ test
9494

9595
|Title|Description|
9696
|-----|-----------|
97-
|[F# Interactive Options](fsharp-interactive-options.md)|Describes command line syntax and options for the F# Interactive, fsi.exe.|
97+
|[F# Interactive Options](../../language-reference/fsharp-interactive-options.md)|Describes command-line syntax and options for the F# Interactive, fsi.exe.|
9898
|[F# Interactive Library Reference](https://msdn.microsoft.com/visualfsharpdocs/conceptual/fsharp-interactive-library-reference)|Describes library functionality available when executing code in F# interactive.|

docs/toc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,6 @@
282282
<!--## [Tutorials](fsharp/tutorials/index.md)-->
283283
## Tutorials
284284
### [F# Interactive](fsharp/tutorials/fsharp-interactive/index.md)
285-
#### [F# Interactive Options](fsharp/tutorials/fsharp-interactive/fsharp-interactive-options.md)
286285
### [Type Providers](fsharp/tutorials/type-providers/index.md)
287286
#### [Accessing a SQL Database by Using Type Providers](fsharp/tutorials/type-providers/accessing-a-sql-database.md)
288287
#### [Accessing a SQL Database by Using Type Providers and Entities](fsharp/tutorials/type-providers/accessing-a-sql-database-entities.md)
@@ -408,6 +407,7 @@
408407
### [Fixed keyword](fsharp/language-reference/fixed.md)
409408
### [Compiler Directives](fsharp/language-reference/compiler-directives.md)
410409
### [Compiler Options](fsharp/language-reference/compiler-options.md)
410+
### [F# Interactive Options](fsharp/language-reference/fsharp-interactive-options.md)
411411
### [Source Line, File, and Path Identifiers](fsharp/language-reference/source-line-file-path-identifiers.md)
412412
### [Caller Information](fsharp/language-reference/caller-information.md)
413413
### [Verbose Syntax](fsharp/language-reference/verbose-syntax.md)

0 commit comments

Comments
 (0)