summaryrefslogtreecommitdiff
path: root/Documentation/project-docs/clr-configuration-knobs.csx
diff options
context:
space:
mode:
authorAdeel Mujahid <adeelbm@outlook.com>2019-04-16 03:36:44 +0100
committerJan Kotas <jkotas@microsoft.com>2019-04-15 19:36:44 -0700
commitee2c5d63810de5c663f644821751ecc6f56c5149 (patch)
tree8ef9ab09133cc5a91d382a70022c8b6ba8623a0b /Documentation/project-docs/clr-configuration-knobs.csx
parentfcc4beb884b7e38a9886b7a354ec8b6cdb8aad83 (diff)
downloadcoreclr-ee2c5d63810de5c663f644821751ecc6f56c5149.tar.gz
coreclr-ee2c5d63810de5c663f644821751ecc6f56c5149.tar.bz2
coreclr-ee2c5d63810de5c663f644821751ecc6f56c5149.zip
Update clr-configuration-knobs and cleanups (#24016)
Diffstat (limited to 'Documentation/project-docs/clr-configuration-knobs.csx')
-rw-r--r--Documentation/project-docs/clr-configuration-knobs.csx12
1 files changed, 6 insertions, 6 deletions
diff --git a/Documentation/project-docs/clr-configuration-knobs.csx b/Documentation/project-docs/clr-configuration-knobs.csx
index d14e1b2a9d..739431f808 100644
--- a/Documentation/project-docs/clr-configuration-knobs.csx
+++ b/Documentation/project-docs/clr-configuration-knobs.csx
@@ -350,13 +350,13 @@ public static class ConfigKnobsDoc
"## Environment/Registry Configuration Knobs\n";
public static string ClrConfigSectionInfo =
- "This table was machine-generated using `clr-configuration-knobs.csx` script from repository commit [GIT_SHORT_HASH](https://github.com/dotnet/coreclr/commit/GIT_LONG_HASH) on DATE_CREATED. It might be out of date. To generate latest documentation run `{dotnet} csi clr-configuration-knobs.csx` from this file directory.\n";
+ "This table was machine-generated using `clr-configuration-knobs.csx` script from repository commit [GIT_SHORT_HASH](https://github.com/dotnet/coreclr/commit/GIT_LONG_HASH) on DATE_CREATED. It might be out of date. To generate latest documentation run `dotnet-script clr-configuration-knobs.csx` from this file directory.\n";
public static string ClrConfigSectionUsage =
"When using these configurations from environment variables, the variables need to have the `COMPlus_` prefix in their names. e.g. To set DumpJittedMethods to 1, add the environment variable `COMPlus_DumpJittedMethods=1`.\n\nSee also [Setting configuration variables](../building/viewing-jit-dumps.md#setting-configuration-variables) for more information.\n";
public static string ClrConfigTableHeader =
- "\nName | Description | Type | Class | Default Value | Flags \n" +
+ "\nName | Description | Type | Class | Default Value | Flags\n" +
"-----|-------------|------|-------|---------------|-------\n";
public static string PalConfigurationKnobs =
@@ -421,10 +421,10 @@ public static class ConfigKnobsDoc
foreach (string key in catKnobs.Keys)
{
var knob = catKnobs[key];
- writer.Write($"`{knob.Name}` | {knob.Description} | `{knob.Type}` | ");
- writer.Write(knob.Class.Length > 0 ? $"`{knob.Class}` | " : " | ");
- writer.Write(knob.DefaultValue.Length > 0 ? $"`{knob.DefaultValue}` | " : " | ");
- writer.WriteLine($"{ knob.Flags}");
+ writer.Write($"`{knob.Name}` | {knob.Description} | `{knob.Type}` |");
+ writer.Write(knob.Class.Length > 0 ? $" `{knob.Class}` |" : " |");
+ writer.Write(knob.DefaultValue.Length > 0 ? $" `{knob.DefaultValue}` |" : " |");
+ writer.WriteLine(knob.Flags.Length > 0 ? $" {knob.Flags}" : string.Empty);
count++;
}