From eacd580961582c7fdc7ad0a46c30aab9ba419a57 Mon Sep 17 00:00:00 2001 From: Vasco Santos Date: Mon, 19 Nov 2018 16:05:15 +0000 Subject: [PATCH] fix: add dash case to pin cli (#1719) --- src/cli/commands/pin/add.js | 1 + src/cli/commands/pin/ls.js | 1 + src/cli/commands/pin/rm.js | 1 + 3 files changed, 3 insertions(+) diff --git a/src/cli/commands/pin/add.js b/src/cli/commands/pin/add.js index bfb0a0b9a3..011cf97688 100644 --- a/src/cli/commands/pin/add.js +++ b/src/cli/commands/pin/add.js @@ -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', diff --git a/src/cli/commands/pin/ls.js b/src/cli/commands/pin/ls.js index a59958942d..6424903cc2 100644 --- a/src/cli/commands/pin/ls.js +++ b/src/cli/commands/pin/ls.js @@ -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', diff --git a/src/cli/commands/pin/rm.js b/src/cli/commands/pin/rm.js index acbadf8a96..d0c9030489 100644 --- a/src/cli/commands/pin/rm.js +++ b/src/cli/commands/pin/rm.js @@ -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',