From a9999c7ebc16f4070b856f3a418c97082d8a0802 Mon Sep 17 00:00:00 2001 From: Rob Reynolds Date: Thu, 14 Mar 2019 16:18:29 -0500 Subject: [PATCH] (doc) info - add usage / examples --- .../commands/ChocolateyInfoCommand.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/chocolatey/infrastructure.app/commands/ChocolateyInfoCommand.cs b/src/chocolatey/infrastructure.app/commands/ChocolateyInfoCommand.cs index 529c25f2a1..f5fd8b75ac 100644 --- a/src/chocolatey/infrastructure.app/commands/ChocolateyInfoCommand.cs +++ b/src/chocolatey/infrastructure.app/commands/ChocolateyInfoCommand.cs @@ -83,6 +83,19 @@ public override void help_message(ChocolateyConfiguration configuration) NOTE: New as of 0.9.10.0. +"); + + "chocolatey".Log().Info(ChocolateyLoggers.Important, "Usage"); + "chocolatey".Log().Info(@" + choco info [] +"); + + "chocolatey".Log().Info(ChocolateyLoggers.Important, "Examples"); + "chocolatey".Log().Info(@" + choco info chocolatey + choco info googlechrome + choco info powershell + NOTE: See scripting in the command reference (`choco -?`) for how to write proper scripts and integrations.