- VSCode Version: 1.27.2
- OS Version: Windows 10.0.17134.285 x64
Steps to Reproduce:
- Run
code --foo bar
- VS Code launches successfully.
I'd expect giving unknown options to error out so as to catch typos, unsupported options, and what not. To do this we probably need to use the unknown option for the minimist parser at src/vs/platform/environment/node/argv.ts. I guess it should print an error and process.exit(2).
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
code --foo barI'd expect giving unknown options to error out so as to catch typos, unsupported options, and what not. To do this we probably need to use the
unknownoption for the minimist parser at src/vs/platform/environment/node/argv.ts. I guess it should print an error andprocess.exit(2).Does this issue occur when all extensions are disabled?: Yes