Skip to content

Commit ff51947

Browse files
committed
(chocolatey#2641) Minor tweaks to wording and formatting
1 parent afba28f commit ff51947

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

GenerateDocs.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -364,8 +364,8 @@ function Generate-CommandReference($commandName, $order) {
364364
> - `cuninst` (Shortcut for `cuninst`)
365365
> - `cup` (Shortcut for `choco upgrade`)
366366
>
367-
> We recommend to update any scripts calling these shims to instead call the full command instead,
368-
> as these shims will be removed in Chocolatey v2.0.0.
367+
> We recommend that any scripts calling these shims be updated to use the full command, as
368+
> these shims will be removed in Chocolatey v2.0.0.
369369
370370
"@)
371371

src/chocolatey/infrastructure.app/commands/ChocolateyHelpCommand.cs

+3-2
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public static void display_help_message(Container container = null)
9999
"chocolatey".Log().Warn(@"
100100
The shims `chocolatey`, `cinst`, `clist`, `cpush`, `cuninst` and `cup` are deprecated.
101101
We recommend updating all scripts to use their full command equivalent as these will be
102-
removed in v2.0.0 of Chocolatey
102+
removed in v2.0.0 of Chocolatey.
103103
");
104104
"chocolatey".Log().Info(ChocolateyLoggers.Important, "Options and Switches");
105105

@@ -167,7 +167,8 @@ Following this guide will ensure your experience is not frustrating
167167
based on choco not receiving things you think you are passing to it.
168168
169169
* For consistency, always use `choco`, not `choco.exe`. Never use
170-
shortcut commands like `cinst` or `cup` (The shortcuts `cinst` and `cup` will be removed in v2.0.0).
170+
shortcut commands like `cinst` or `cup` (The shortcuts `cinst`
171+
and `cup` will be removed in v2.0.0).
171172
* Always have the command as the first argument to `choco`. e.g.
172173
`choco install`, where `install` is the command.
173174
* If there is a subcommand, ensure that is the second argument. e.g.

0 commit comments

Comments
 (0)