Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixed --framework option's arity
  • Loading branch information
advay26 authored and github-actions committed Jun 6, 2024
commit 160fcfb57c7f0926a2bcdac1054f00298dad5f9f
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ private static CliCommand GetWhyCommand()
whyCommand.Arguments.Add(new CliArgument<string>("PROJECT|SOLUTION") { Arity = ArgumentArity.ExactlyOne });
whyCommand.Arguments.Add(new CliArgument<string>("PACKAGE") { Arity = ArgumentArity.ExactlyOne });

whyCommand.Options.Add(new CliOption<string>("--framework", "-f") { Arity = ArgumentArity.OneOrMore });
whyCommand.Options.Add(new CliOption<string>("--framework", "-f") { Arity = ArgumentArity.ZeroOrMore });

whyCommand.SetAction(NuGetCommand.Run);

Expand Down