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

Commit 9f40103

Browse files
committed
fix: add dash case to pin cli
1 parent e849dbc commit 9f40103

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/cli/commands/pin/add.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ module.exports = {
88
describe: 'Pins object to local storage.',
99

1010
builder: {
11+
'ipfs-path': {}, // Temporary fix for https://github.com/yargs/yargs-parser/issues/151
1112
recursive: {
1213
type: 'boolean',
1314
alias: 'r',

src/cli/commands/pin/ls.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ module.exports = {
99
describe: 'List objects pinned to local storage.',
1010

1111
builder: {
12+
'ipfs-path': {}, // Temporary fix for https://github.com/yargs/yargs-parser/issues/151
1213
type: {
1314
type: 'string',
1415
alias: 't',

src/cli/commands/pin/rm.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ module.exports = {
88
describe: 'Removes the pinned object from local storage.',
99

1010
builder: {
11+
'ipfs-path': {}, // Temporary fix for https://github.com/yargs/yargs-parser/issues/151
1112
recursive: {
1213
type: 'boolean',
1314
alias: 'r',

0 commit comments

Comments
 (0)