Skip to content

Commit a16b017

Browse files
chore: rely on default arg parser behavior (#6413)
1 parent 0aa8a55 commit a16b017

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/@vue/cli/bin/vue.js

-4
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,6 @@ enhanceErrorMessages('optionMissingArgument', (option, flag) => {
234234

235235
program.parse(process.argv)
236236

237-
if (!process.argv.slice(2).length) {
238-
program.outputHelp()
239-
}
240-
241237
function suggestCommands (unknownCommand) {
242238
const availableCommands = program.commands.map(cmd => cmd._name)
243239

0 commit comments

Comments
 (0)