Skip to content

Commit

Permalink
fix(cli add): git parameters description
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Chau committed Jan 19, 2019
1 parent 807f144 commit a99dced
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@nodepack/cli/src/bin/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ program
.option('-r, --registry <url>', 'Use specified npm registry when installing dependencies (only for npm)')
.option('-x, --proxy', 'Use specified proxy when creating project')
// Git
.option('-g, --git [message]', 'Force git initialization with initial commit message')
.option('-n, --no-git', 'Skip git initialization')
.option('-g, --git [message]', 'Force git commit with message before maintenance')
.option('-n, --no-git', 'Skip git commit before maintenance')
.action((pluginName, cmd) => {
const options = cleanArgs(cmd)
// --no-git makes commander to default git to true
Expand Down

0 comments on commit a99dced

Please sign in to comment.