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

Commit 493c670

Browse files
author
Alan Shaw
committed
docs: add note about CIDv0 base encoding for bitswap and object APIs
License: MIT Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
1 parent 0295b2f commit 493c670

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

src/cli/commands/object/get.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = {
1515
default: 'base64'
1616
},
1717
'cid-base': {
18-
describe: 'Number base to display CIDs in.',
18+
describe: 'Number base to display CIDs in. Note: specifying a CID base for v0 CIDs will have no effect.',
1919
type: 'string',
2020
choices: multibase.names
2121
}

src/cli/commands/object/links.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = {
1111

1212
builder: {
1313
'cid-base': {
14-
describe: 'Number base to display CIDs in.',
14+
describe: 'Number base to display CIDs in. Note: specifying a CID base for v0 CIDs will have no effect.',
1515
type: 'string',
1616
choices: multibase.names
1717
}

src/cli/commands/object/new.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = {
1111

1212
builder: {
1313
'cid-base': {
14-
describe: 'Number base to display CIDs in.',
14+
describe: 'Number base to display CIDs in. Note: specifying a CID base for v0 CIDs will have no effect.',
1515
type: 'string',
1616
choices: multibase.names
1717
}

src/cli/commands/object/patch/add-link.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = {
1313

1414
builder: {
1515
'cid-base': {
16-
describe: 'Number base to display CIDs in.',
16+
describe: 'Number base to display CIDs in. Note: specifying a CID base for v0 CIDs will have no effect.',
1717
type: 'string',
1818
choices: multibase.names
1919
}

src/cli/commands/object/patch/append-data.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = {
2525

2626
builder: {
2727
'cid-base': {
28-
describe: 'Number base to display CIDs in.',
28+
describe: 'Number base to display CIDs in. Note: specifying a CID base for v0 CIDs will have no effect.',
2929
type: 'string',
3030
choices: multibase.names
3131
}

src/cli/commands/object/patch/rm-link.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = {
1111

1212
builder: {
1313
'cid-base': {
14-
describe: 'Number base to display CIDs in.',
14+
describe: 'Number base to display CIDs in. Note: specifying a CID base for v0 CIDs will have no effect.',
1515
type: 'string',
1616
choices: multibase.names
1717
}

src/cli/commands/object/patch/set-data.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = {
2525

2626
builder: {
2727
'cid-base': {
28-
describe: 'Number base to display CIDs in.',
28+
describe: 'Number base to display CIDs in. Note: specifying a CID base for v0 CIDs will have no effect.',
2929
type: 'string',
3030
choices: multibase.names
3131
}

src/cli/commands/object/put.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports = {
2727
default: 'json'
2828
},
2929
'cid-base': {
30-
describe: 'Number base to display CIDs in.',
30+
describe: 'Number base to display CIDs in. Note: specifying a CID base for v0 CIDs will have no effect.',
3131
type: 'string',
3232
choices: multibase.names
3333
}

0 commit comments

Comments
 (0)