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

Commit

Permalink
fix: add dash case to pin cli (#1719)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos authored and Alan Shaw committed Nov 19, 2018
1 parent b027d5b commit eacd580
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/cli/commands/pin/add.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module.exports = {
describe: 'Pins object to local storage.',

builder: {
'ipfs-path': {}, // Temporary fix for https://github.com/yargs/yargs-parser/issues/151
recursive: {
type: 'boolean',
alias: 'r',
Expand Down
1 change: 1 addition & 0 deletions src/cli/commands/pin/ls.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module.exports = {
describe: 'List objects pinned to local storage.',

builder: {
'ipfs-path': {}, // Temporary fix for https://github.com/yargs/yargs-parser/issues/151
type: {
type: 'string',
alias: 't',
Expand Down
1 change: 1 addition & 0 deletions src/cli/commands/pin/rm.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module.exports = {
describe: 'Removes the pinned object from local storage.',

builder: {
'ipfs-path': {}, // Temporary fix for https://github.com/yargs/yargs-parser/issues/151
recursive: {
type: 'boolean',
alias: 'r',
Expand Down

0 comments on commit eacd580

Please sign in to comment.