summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Estep <sam@samestep.com>2025-07-09 17:34:09 -0400
committerGitHub <noreply@github.com>2025-07-09 21:34:09 +0000
commit2d82d630e11d296ce1f52fe27d17081070042d56 (patch)
tree733ce86e1daa2c8b55a32c116a335c6f6d53f010
parente40ddc6efb275a753a46f8c8bcc420801668c931 (diff)
Fix `slangc --help` text for `-reflection-json` (#7653)
-rw-r--r--docs/command-line-slangc-reference.md2
-rw-r--r--source/slang/slang-options.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/command-line-slangc-reference.md b/docs/command-line-slangc-reference.md
index c7d216a6e..205a563f6 100644
--- a/docs/command-line-slangc-reference.md
+++ b/docs/command-line-slangc-reference.md
@@ -356,7 +356,7 @@ Include additional type conformance during linking for dynamic dispatch.
<a id="reflection-json"></a>
### -reflection-json
-**reflection-json &lt;path&gt;**
+**-reflection-json &lt;path&gt;**
Emit reflection data in JSON format to a file.
diff --git a/source/slang/slang-options.cpp b/source/slang/slang-options.cpp
index fde13463e..c532e91ae 100644
--- a/source/slang/slang-options.cpp
+++ b/source/slang/slang-options.cpp
@@ -565,7 +565,7 @@ void initCommandOptions(CommandOptions& options)
"Include additional type conformance during linking for dynamic dispatch."},
{OptionKind::EmitReflectionJSON,
"-reflection-json",
- "reflection-json <path>",
+ "-reflection-json <path>",
"Emit reflection data in JSON format to a file."}};
_addOptions(makeConstArrayView(generalOpts), options);