From 9b0766844260976ccc0953fc69597d867b39a271 Mon Sep 17 00:00:00 2001 From: Rob Reynolds Date: Sun, 6 Aug 2017 18:08:53 -0500 Subject: [PATCH] (GH-1331)(doc) Pass multiple sources Document how to pass multiple sources when the source value allows for multiple sources. --- .../infrastructure.app/commands/ChocolateyInfoCommand.cs | 2 +- .../infrastructure.app/commands/ChocolateyInstallCommand.cs | 2 +- .../infrastructure.app/commands/ChocolateyListCommand.cs | 2 +- .../infrastructure.app/commands/ChocolateyOutdatedCommand.cs | 2 +- .../infrastructure.app/commands/ChocolateyUpgradeCommand.cs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/chocolatey/infrastructure.app/commands/ChocolateyInfoCommand.cs b/src/chocolatey/infrastructure.app/commands/ChocolateyInfoCommand.cs index 8256083fcf..f99f7c1263 100644 --- a/src/chocolatey/infrastructure.app/commands/ChocolateyInfoCommand.cs +++ b/src/chocolatey/infrastructure.app/commands/ChocolateyInfoCommand.cs @@ -36,7 +36,7 @@ public override void configure_argument_parser(OptionSet optionSet, ChocolateyCo optionSet .Add( "s=|source=", - "Source - Source location for install. Can include special 'webpi'. Defaults to sources.", + "Source - Source location for install. Can use special 'webpi' or 'windowsfeatures' sources. Defaults to sources.", option => configuration.Sources = option.remove_surrounding_quotes()) .Add( "l|lo|localonly|local-only", diff --git a/src/chocolatey/infrastructure.app/commands/ChocolateyInstallCommand.cs b/src/chocolatey/infrastructure.app/commands/ChocolateyInstallCommand.cs index cdd525254f..973ae80690 100644 --- a/src/chocolatey/infrastructure.app/commands/ChocolateyInstallCommand.cs +++ b/src/chocolatey/infrastructure.app/commands/ChocolateyInstallCommand.cs @@ -41,7 +41,7 @@ public virtual void configure_argument_parser(OptionSet optionSet, ChocolateyCon { optionSet .Add("s=|source=", - "Source - The source to find the package(s) to install. Special sources include: ruby, webpi, cygwin, windowsfeatures, and python. Defaults to default feeds.", + "Source - The source to find the package(s) to install. Special sources include: ruby, webpi, cygwin, windowsfeatures, and python. To specify more than one source, pass it with a semi-colon separating the values (e.g. \"'source1;source2'\"). Defaults to default feeds.", option => configuration.Sources = option.remove_surrounding_quotes()) .Add("version=", "Version - A specific version to install. Defaults to unspecified.", diff --git a/src/chocolatey/infrastructure.app/commands/ChocolateyListCommand.cs b/src/chocolatey/infrastructure.app/commands/ChocolateyListCommand.cs index 58472d7985..841b775ac7 100644 --- a/src/chocolatey/infrastructure.app/commands/ChocolateyListCommand.cs +++ b/src/chocolatey/infrastructure.app/commands/ChocolateyListCommand.cs @@ -41,7 +41,7 @@ public virtual void configure_argument_parser(OptionSet optionSet, ChocolateyCon { optionSet .Add("s=|source=", - "Source - Source location for install. Can include special 'webpi'. Defaults to sources.", + "Source - Source location for install. Can use special 'webpi' or 'windowsfeatures' sources. Defaults to sources.", option => configuration.Sources = option.remove_surrounding_quotes()) .Add("l|lo|localonly|local-only", "LocalOnly - Only search against local machine items.", diff --git a/src/chocolatey/infrastructure.app/commands/ChocolateyOutdatedCommand.cs b/src/chocolatey/infrastructure.app/commands/ChocolateyOutdatedCommand.cs index e2d1d8978b..5329e222d2 100644 --- a/src/chocolatey/infrastructure.app/commands/ChocolateyOutdatedCommand.cs +++ b/src/chocolatey/infrastructure.app/commands/ChocolateyOutdatedCommand.cs @@ -38,7 +38,7 @@ public virtual void configure_argument_parser(OptionSet optionSet, ChocolateyCon { optionSet .Add("s=|source=", - "Source - The source to find the package(s) to install. Special sources include: ruby, webpi, cygwin, windowsfeatures, and python. Defaults to default feeds.", + "Source - The source to find the package(s) to install. Special sources include: ruby, webpi, cygwin, windowsfeatures, and python. To specify more than one source, pass it with a semi-colon separating the values (e.g. \"'source1;source2'\"). Defaults to default feeds.", option => configuration.Sources = option.remove_surrounding_quotes()) .Add("u=|user=", "User - used with authenticated feeds. Defaults to empty.", diff --git a/src/chocolatey/infrastructure.app/commands/ChocolateyUpgradeCommand.cs b/src/chocolatey/infrastructure.app/commands/ChocolateyUpgradeCommand.cs index 4be428123b..5bc6d8190b 100644 --- a/src/chocolatey/infrastructure.app/commands/ChocolateyUpgradeCommand.cs +++ b/src/chocolatey/infrastructure.app/commands/ChocolateyUpgradeCommand.cs @@ -42,7 +42,7 @@ public virtual void configure_argument_parser(OptionSet optionSet, ChocolateyCon { optionSet .Add("s=|source=", - "Source - The source to find the package(s) to install. Special sources include: ruby, webpi, cygwin, windowsfeatures, and python. Defaults to default feeds.", + "Source - The source to find the package(s) to install. Special sources include: ruby, webpi, cygwin, windowsfeatures, and python. To specify more than one source, pass it with a semi-colon separating the values (e.g. \"'source1;source2'\"). Defaults to default feeds.", option => configuration.Sources = option.remove_surrounding_quotes()) .Add("version=", "Version - A specific version to install. Defaults to unspecified.",