Skip to content

Conversation

haoqunjiang
Copy link
Member

closes #1899

@@ -49,7 +49,7 @@ program
.option('-i, --inlinePreset <json>', 'Skip prompts and use inline JSON string as preset')
.option('-m, --packageManager <command>', 'Use specified npm client when installing dependencies')
.option('-r, --registry <url>', 'Use specified npm registry when installing dependencies (only for npm)')
.option('-g, --git [message]', 'Force / skip git initialization, optionally specify initial commit message')
.option('-g, --git [message | false]', 'Force / skip git initialization, optionally specify initial commit message')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure commander understands this.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.
Not sure if the new description is clear enough for end users. This option seems quite unintuitive at first glance…

@yyx990803
Copy link
Member

I've changed it to --no-git which should no longer be confusing.

@yyx990803 yyx990803 merged commit 7e6c37c into vuejs:dev Jul 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No matter if I activate or deactivate the check box, a git repository is created every time a new project is created.
3 participants