mirror of
https://github.com/quamotion/dotnet-packaging.git
synced 2026-02-04 05:35:40 +00:00
Fix command arity (#206)
This commit is contained in:
@@ -52,7 +52,7 @@ namespace Dotnet.Packaging
|
||||
rootCommand.AddOption(new Option(
|
||||
new string[] { "-r", "--runtime" },
|
||||
$"Target runtime of the {outputName}. The target runtime has to be specified in the project file.",
|
||||
arity: ArgumentArity.ZeroOrOne)
|
||||
arity: ArgumentArity.ExactlyOne)
|
||||
{
|
||||
Name = "runtime",
|
||||
});
|
||||
@@ -60,7 +60,7 @@ namespace Dotnet.Packaging
|
||||
rootCommand.AddOption(new Option(
|
||||
new string[] { "-f", "--framework" },
|
||||
$"Target framework of the {outputName}. The target framework has to be specified in the project file.",
|
||||
arity: ArgumentArity.ZeroOrOne)
|
||||
arity: ArgumentArity.ExactlyOne)
|
||||
{
|
||||
Name = "framework"
|
||||
});
|
||||
@@ -68,7 +68,7 @@ namespace Dotnet.Packaging
|
||||
rootCommand.AddOption(new Option(
|
||||
new string[] { "-c", "--configuration" },
|
||||
$"Target configuration of the {outputName}. The default for most projects is 'Debug'.",
|
||||
arity: ArgumentArity.ZeroOrOne)
|
||||
arity: ArgumentArity.ExactlyOne)
|
||||
{
|
||||
Name = "configuration",
|
||||
});
|
||||
@@ -76,7 +76,7 @@ namespace Dotnet.Packaging
|
||||
rootCommand.AddOption(new Option(
|
||||
new string[] { "-o", "--output" },
|
||||
$"The output directory to place built packages in. The default is the output directory of your project.",
|
||||
arity: ArgumentArity.ZeroOrOne)
|
||||
arity: ArgumentArity.ExactlyOne)
|
||||
{
|
||||
Name = "output-dir",
|
||||
});
|
||||
@@ -84,7 +84,7 @@ namespace Dotnet.Packaging
|
||||
rootCommand.AddOption(new Option(
|
||||
new string[] { "--version-suffix" },
|
||||
"Defines the value for the $(VersionSuffix) property in the project.",
|
||||
arity: ArgumentArity.ZeroOrOne)
|
||||
arity: ArgumentArity.ExactlyOne)
|
||||
{
|
||||
Name = "version-suffix"
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user