-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
area: @angular/clifreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity3: brokentype: bug/fix
Milestone
Description
🐞 Bug report
Command (mark with an x
)
all of them
Is this a regression?
I don't think so
Description
When passing an option with a single dash instead of two, the error message is weird and unhelpful. For example:
ng test -watch=false
Unknown option: '-h'
I would expect something like:
ng test -watch=false
Unknown option: '-watch'. Options start with two dashes. Did you mean '--watch'?
🌍 Your Environment
Angular CLI: 12.0.1
Node: 12.20.1
Package Manager: yarn 1.22.10
OS: darwin x64
Angular: 12.0.1
... animations, cdk, cli, common, compiler, compiler-cli, core
... forms, language-service, localize, platform-browser
... platform-browser-dynamic, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1200.1
@angular-devkit/build-angular 12.0.1
@angular-devkit/core 12.0.1
@angular-devkit/schematics 12.0.1
@schematics/angular 12.0.1
rxjs 6.6.7
typescript 4.2.4
Metadata
Metadata
Assignees
Labels
area: @angular/clifreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity3: brokentype: bug/fix