Skip to content

Commit 67cff95

Browse files
KuangPFhaoqunjiang
authored andcommittedJan 12, 2019
feat: support use -h show detailed usage of command
1 parent 2903fd2 commit 67cff95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/@vue/cli-service/lib/Service.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ module.exports = class Service {
209209
error(`command "${name}" does not exist.`)
210210
process.exit(1)
211211
}
212-
if (!command || args.help) {
212+
if (!command || args.help || args.h) {
213213
command = this.commands.help
214214
} else {
215215
args._.shift() // remove command itself

0 commit comments

Comments
 (0)