mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-18 00:21:33 -07:00
prevent value from being parsed as an argument
This commit is contained in:
parent
0020db0c46
commit
5d1aa50753
@ -113,6 +113,7 @@ namespace Bloxstrap
|
|||||||
if (i < Args.Length - 1 && Args[i+1] is string nextArg && !nextArg.StartsWith('-'))
|
if (i < Args.Length - 1 && Args[i+1] is string nextArg && !nextArg.StartsWith('-'))
|
||||||
{
|
{
|
||||||
flag.Data = nextArg;
|
flag.Data = nextArg;
|
||||||
|
i++;
|
||||||
App.Logger.WriteLine(LOG_IDENT, $"Identifier '{identifier}' is active with data");
|
App.Logger.WriteLine(LOG_IDENT, $"Identifier '{identifier}' is active with data");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user