Skip to content

Commit 8571f9d

Browse files
authored
Merge pull request #35 from unoplatform/dev/jela/adjust-node
fix: Adjust cli argument parsing
2 parents 9f976f8 + 20e5fbb commit 8571f9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NvGet.Tools.Shared/Arguments/ConsoleArgsContext.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ internal static OptionSet CreateOptionsFor(ConsoleArgsContext context = null)
4848
{ "outputFile=|of=", "The {path} to a markdown file where the update summary will be written", TrySet(x => context.SummaryFile = x) },
4949
{ "allowDowngrade|d", "Whether package downgrade is allowed", TrySet(x => context.Parameters.IsDowngradeAllowed = true) },
5050
{ "useNuGetorg|n", "Whether to use packages from NuGet.org", TrySet(_ => context.Parameters.Feeds.Add(PackageFeed.NuGetOrg)) },
51-
{ "excludePath|x", "Excludes paths containing the provided value (case insensitive)", TrySet(p => context.Parameters.ExcludedPaths.Add(p)) },
51+
{ "excludePath=|x=", "Excludes paths containing the provided value (case insensitive)", TrySet(p => context.Parameters.ExcludedPaths.Add(p)) },
5252
{ "silent", "Suppress all output from NuGet Updater", TrySet(_ => context.IsSilent = true) },
5353
{ "strict", "Whether to use versions with only the specified version tag (ie. dev, but not dev.test)", TrySet(_ => context.Parameters.Strict = true) },
5454
{ "dryrun", "Runs the updater but doesn't write the updates to files.", TrySet(_ => context.Parameters.IsDryRun = true) },

0 commit comments

Comments
 (0)