Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
fix: make init options look like go-ipfs (#2544)
Browse files Browse the repository at this point in the history
While still supporting camelCase
  • Loading branch information
hugomrdias authored and achingbrain committed Oct 17, 2019
1 parent e081e16 commit d4d6dfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli/commands/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ module.exports = {
default: '2048',
describe: 'Number of bits to use in the generated RSA private key (defaults to 2048)'
})
.option('emptyRepo', {
.option('empty-repo', {
alias: 'e',
type: 'boolean',
describe: "Don't add and pin help files to the local storage"
})
.option('privateKey', {
.option('private-key', {
alias: 'k',
type: 'string',
describe: 'Pre-generated private key to use for the repo'
Expand Down

0 comments on commit d4d6dfe

Please sign in to comment.