Basic command line argument parser
Supports --key value, --key=value, --flag, and positional arguments
valueFlags names options whose value may itself look like a flag, so the
next token is consumed even when it starts with --. Chromium switches
passed to --launch-args are the motivating case: without this, a value
like --enable-blink-features=X would be parsed as a separate option.
Basic command line argument parser Supports --key value, --key=value, --flag, and positional arguments
valueFlagsnames options whose value may itself look like a flag, so the next token is consumed even when it starts with--. Chromium switches passed to--launch-argsare the motivating case: without this, a value like--enable-blink-features=Xwould be parsed as a separate option.