Skip to content

Commit

Permalink
(chocolatey#2641) Minor tweaks to wording and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
gep13 committed Mar 10, 2022
1 parent afba28f commit ff51947
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions GenerateDocs.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,8 @@ function Generate-CommandReference($commandName, $order) {
> - `cuninst` (Shortcut for `cuninst`)
> - `cup` (Shortcut for `choco upgrade`)
>
> We recommend to update any scripts calling these shims to instead call the full command instead,
> as these shims will be removed in Chocolatey v2.0.0.
> We recommend that any scripts calling these shims be updated to use the full command, as
> these shims will be removed in Chocolatey v2.0.0.
"@)

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

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

0 comments on commit ff51947

Please sign in to comment.