Skip to content

Commit cfceafc

Browse files
authored
fix(#153): update command-line test workflow wording in documentation (#168)
- Change CLI preview flag wording to `--what-if` in `docs/core-workflows.html` - Maintain PowerShell `-WhatIf` wording only in the PowerShell view
1 parent eb4addb commit cfceafc

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ Keep stable `Update-NovaModuleVersion` / `% nova bump` releases on the SemVer ma
4040

4141
### Fixed
4242

43+
- Fix the command-line test workflow wording in `docs/core-workflows.html` so the CLI preview flag is shown as
44+
`--what-if`.
45+
- The GitHub Pages guide now keeps the PowerShell `-WhatIf` wording only in the PowerShell view and shows
46+
`--what-if` in the command-line view.
4347
- Add a PowerShell installed-tool version view through `Get-NovaProjectInfo -Installed`.
4448
- PowerShell now exposes the installed `NovaModuleTools` module name and version directly instead of requiring the
4549
launcher-only `% nova --version` path.

docs/core-workflows.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,11 @@ <h2>Run the tests</h2>
199199
<code>-OutputRenderMode</code> are PowerShell cmdlet parameters, so switch to the PowerShell
200200
view when you need those controls.</p>
201201
</div>
202-
<p>Use <code>-WhatIf</code> if you want to preview the test run and output path without creating the
202+
<p data-command-visibility="powershell">Use <code>-WhatIf</code> if you want to preview the test run and
203+
output path without creating the
204+
results directory or invoking Pester.</p>
205+
<p data-command-visibility="command-line" hidden>Use <code>--what-if</code> if you want to preview the
206+
test run and output path without creating the
203207
results directory or invoking Pester.</p>
204208
</section>
205209

0 commit comments

Comments
 (0)