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

Commit

Permalink
fix: remove local option from global commands (#1648)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos authored and alanshaw committed Oct 30, 2018
1 parent 3ee7b5e commit 8e963f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/cli/bin.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ const cli = yargs
type: 'string',
default: ''
})
.option('local', {
desc: 'Run the command locally, instead of using the daemon',
type: 'boolean',
default: false
})
.epilog(utils.ipfsPathHelp)
.demandCommand(1)
.fail((msg, err, yargs) => {
Expand Down
5 changes: 5 additions & 0 deletions src/cli/commands/daemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ module.exports = {
type: 'boolean',
default: false
})
.option('local', {
desc: 'Run commands locally to the daemon',
type: 'boolean',
default: false
})
},

handler (argv) {
Expand Down

0 comments on commit 8e963f9

Please sign in to comment.