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

Commit d4d6dfe

Browse files
hugomrdiasachingbrain
authored andcommitted
fix: make init options look like go-ipfs (#2544)
While still supporting camelCase
1 parent e081e16 commit d4d6dfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cli/commands/init.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ module.exports = {
2323
default: '2048',
2424
describe: 'Number of bits to use in the generated RSA private key (defaults to 2048)'
2525
})
26-
.option('emptyRepo', {
26+
.option('empty-repo', {
2727
alias: 'e',
2828
type: 'boolean',
2929
describe: "Don't add and pin help files to the local storage"
3030
})
31-
.option('privateKey', {
31+
.option('private-key', {
3232
alias: 'k',
3333
type: 'string',
3434
describe: 'Pre-generated private key to use for the repo'

0 commit comments

Comments
 (0)