Open
Description
Description
The define option is being included multiple times in the JSON help output example: https://github.com/angular/cli-builds/blob/4e015ce6eef338f64ce413547ce046a35ab50a01/help/test.json#L42-L51 which causes the option to be displayed multiple times in angular.dev, see: https://angular.dev/cli/test
Reproduction
ng build --help --json-help | grep '"name": "define"'
"name": "define",
"name": "define",
ng test --help --json-help | grep '"name": "define"'
"name": "define",
"name": "define",
Anything else relevant?
Possibly this could be caused by the option being registered multiple times in yargs, also this applies to another commands not just the ng test
.