command-line-api icon indicating copy to clipboard operation
command-line-api copied to clipboard

Empty flags cannibalize each other

Open landonmsft opened this issue 3 years ago • 0 comments

Flag with value of an empty string ruins the entire command line input.

For example:

-o, with an empty string (""), will skip over it and grab the next flag. -o "" -q "&color=red"

This makes -o contain "-q". "&color=red" then gets thrown away, because the '-q' flag never got called. This then causes cascading issues.

landonmsft avatar Sep 15 '22 14:09 landonmsft