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

Commit

Permalink
docs: add note about CIDv0 base encoding for bitswap and object APIs
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
  • Loading branch information
Alan Shaw committed Dec 14, 2018
1 parent 0295b2f commit 493c670
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/cli/commands/object/get.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = {
default: 'base64'
},
'cid-base': {
describe: 'Number base to display CIDs in.',
describe: 'Number base to display CIDs in. Note: specifying a CID base for v0 CIDs will have no effect.',
type: 'string',
choices: multibase.names
}
Expand Down
2 changes: 1 addition & 1 deletion src/cli/commands/object/links.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = {

builder: {
'cid-base': {
describe: 'Number base to display CIDs in.',
describe: 'Number base to display CIDs in. Note: specifying a CID base for v0 CIDs will have no effect.',
type: 'string',
choices: multibase.names
}
Expand Down
2 changes: 1 addition & 1 deletion src/cli/commands/object/new.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = {

builder: {
'cid-base': {
describe: 'Number base to display CIDs in.',
describe: 'Number base to display CIDs in. Note: specifying a CID base for v0 CIDs will have no effect.',
type: 'string',
choices: multibase.names
}
Expand Down
2 changes: 1 addition & 1 deletion src/cli/commands/object/patch/add-link.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {

builder: {
'cid-base': {
describe: 'Number base to display CIDs in.',
describe: 'Number base to display CIDs in. Note: specifying a CID base for v0 CIDs will have no effect.',
type: 'string',
choices: multibase.names
}
Expand Down
2 changes: 1 addition & 1 deletion src/cli/commands/object/patch/append-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = {

builder: {
'cid-base': {
describe: 'Number base to display CIDs in.',
describe: 'Number base to display CIDs in. Note: specifying a CID base for v0 CIDs will have no effect.',
type: 'string',
choices: multibase.names
}
Expand Down
2 changes: 1 addition & 1 deletion src/cli/commands/object/patch/rm-link.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = {

builder: {
'cid-base': {
describe: 'Number base to display CIDs in.',
describe: 'Number base to display CIDs in. Note: specifying a CID base for v0 CIDs will have no effect.',
type: 'string',
choices: multibase.names
}
Expand Down
2 changes: 1 addition & 1 deletion src/cli/commands/object/patch/set-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = {

builder: {
'cid-base': {
describe: 'Number base to display CIDs in.',
describe: 'Number base to display CIDs in. Note: specifying a CID base for v0 CIDs will have no effect.',
type: 'string',
choices: multibase.names
}
Expand Down
2 changes: 1 addition & 1 deletion src/cli/commands/object/put.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module.exports = {
default: 'json'
},
'cid-base': {
describe: 'Number base to display CIDs in.',
describe: 'Number base to display CIDs in. Note: specifying a CID base for v0 CIDs will have no effect.',
type: 'string',
choices: multibase.names
}
Expand Down

0 comments on commit 493c670

Please sign in to comment.