Browse Source
Update CommandLineArgumentParser.cs
pull/12220/head
Roc
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Args/CommandLineArgumentParser.cs
|
|
|
@ -98,7 +98,7 @@ public class CommandLineArgumentParser : ICommandLineArgumentParser, ITransientD |
|
|
|
{ |
|
|
|
if (argument.Length <= 1) |
|
|
|
{ |
|
|
|
throw new ArgumentException("Should specify an option name after '--' prefix!"); |
|
|
|
throw new ArgumentException("Should specify an option name after '-' prefix!"); |
|
|
|
} |
|
|
|
|
|
|
|
return argument.RemovePreFix("-"); |
|
|
|
|