Open
Description
Version
v22.5.1
Platform
Linux nic-desktop 6.9.3-76060903-generic #202405300957~1718348209~22.04~7817b67 SMP PREEMPT_DYNAMIC Mon J x86_64 x86_64 x86_64 GNU/Linux
Subsystem
cli
What steps will reproduce the bug?
node --v8-options
prints:
The following syntax for options is accepted (both '-' and '--' are ok):
--flag (bool flags only)
--no-flag (bool flags only)
--flag=value (non-bool flags only, no spaces around '=')
--flag value (non-bool flags only)
-- (captures all remaining args in JavaScript)
How often does it reproduce? Is there a required condition?
/
What is the expected behavior? Why is that the expected behavior?
The help output should match the implementation
What do you see instead?
It's not true that I can use --flag value
. If I try running node --arm-arch armv8 foo.js
it parses armv8
as the script name, rather than as if it was node --arm-arch=armv8 foo.js
Additional information
No response