You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a command that calls other commands, and accepts an --options flag that can pass through arguments to these other commands; this requires unknown-options-as-args to be enabled. Some of these arguments have dashes in them. It seems yargs-parser will incorrectly parse unknown arguments with dashes in them when they resemble known arguments.
I have a command that calls other commands, and accepts an
--options
flag that can pass through arguments to these other commands; this requiresunknown-options-as-args
to be enabled. Some of these arguments have dashes in them. It seemsyargs-parser
will incorrectly parse unknown arguments with dashes in them when they resemble known arguments.This is fixed by updating line 987 to:
I can open a PR if there's interest.
Example:
The text was updated successfully, but these errors were encountered: