mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CLI2: Tags args 'UNKNOWN' to help spot an worthless use case
This commit is contained in:
parent
f09a39f043
commit
c2c53fa668
1 changed files with 2 additions and 0 deletions
|
@ -465,6 +465,8 @@ void CLI2::lexArguments ()
|
|||
else
|
||||
{
|
||||
A2 unknown (_original_args[i], Lexer::Type::word);
|
||||
unknown.tag ("UNKNOWN");
|
||||
|
||||
if (lex.wasQuoted (_original_args[i]))
|
||||
unknown.tag ("QUOTED");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue