Skip to content

Commit

Permalink
chore!: add @vue/cli in --version output, to avoid confusion (#4681)
Browse files Browse the repository at this point in the history
* feat!: add `Vue CLI` in `--version` output, to avoid confusion

* chore: should use `@vue/cli` as the correct branding
  • Loading branch information
sodatea committed Oct 16, 2019
1 parent c760910 commit 3677493
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@vue/cli/bin/vue.js
Expand Up @@ -21,7 +21,7 @@ function checkNodeVersion (wanted, id) {
}
}

checkNodeVersion(requiredVersion, 'vue-cli')
checkNodeVersion(requiredVersion, '@vue/cli')

if (semver.satisfies(process.version, '9.x')) {
console.log(chalk.red(
Expand Down Expand Up @@ -50,7 +50,7 @@ const program = require('commander')
const loadCommand = require('../lib/util/loadCommand')

program
.version(require('../package').version)
.version(`@vue/cli ${require('../package').version}`)
.usage('<command> [options]')

program
Expand Down

0 comments on commit 3677493

Please sign in to comment.