Skip to content

Commit a365b30

Browse files
authored
Merge pull request #3683 from gep13/support-command-docs
(#3668) Update wording for support command
2 parents d31ed02 + 7b9b52d commit a365b30

File tree

2 files changed

+10
-13
lines changed

2 files changed

+10
-13
lines changed

src/chocolatey.tests/infrastructure.app/commands/ChocolateySupportCommandSpecs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public void Should_log_the_message_we_expect()
130130
var messages = MockLogger.MessagesFor(LogLevel.Info);
131131
messages.Should().HaveCount(2);
132132
messages[0].Should().Contain("Support Command");
133-
messages[1].Should().Contain("As an open-source user of Chocolatey CLI, we are not able to");
133+
messages[1].Should().Contain("As a user of Chocolatey CLI open-source, we are unable to");
134134
}
135135
}
136136
}

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

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,10 @@ public void HelpMessage(ChocolateyConfiguration configuration)
4646
{
4747
this.Log().Info(ChocolateyLoggers.Important, "Support Command");
4848
this.Log().Info(@"
49-
As an open-source user of Chocolatey CLI, we are not able to
49+
As a user of Chocolatey CLI open-source, we are unable to
5050
provide private support. See https://chocolatey.org/support
5151
for details.
5252
");
53-
5453
}
5554

5655
public void DryRun(ChocolateyConfiguration configuration)
@@ -65,23 +64,21 @@ public void Run(ChocolateyConfiguration config)
6564
if (config.Information.IsLicensedVersion)
6665
{
6766
this.Log().Warn(@"
68-
As a licensed customer, you can access our Support Team, however,
67+
As a licensed customer, you can access our Support Team. However,
6968
it looks like the Chocolatey Licensed Extension package is not
70-
currently installed. Ensure that you run:
71-
`choco install chocolatey.extension`
72-
and run `choco support` again.
69+
currently installed. Please run
70+
`choco install chocolatey.extension` and run `choco support`
71+
again.
7372
");
7473
}
7574
else
7675
{
7776
this.Log().Info(@"
7877
Unfortunately, we are unable to provide private support for
79-
open-source users. However, there are a lot of avenues for open
80-
source users within the community to get the help they need.
81-
82-
If you are an open-source user, please visit
83-
https://chocolatey.org/support for the full list of options, or
84-
https://docs.chocolatey.org for our open source documentation.
78+
open-source users. However, there is community assistance
79+
available. Please visit:
80+
https://chocolatey.org/support for support options, or
81+
https://docs.chocolatey.org for our open-source documentation.
8582
");
8683
}
8784
}

0 commit comments

Comments
 (0)