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

Commit 3fc1a51

Browse files
vasco-santosAlan Shaw
authored and
Alan Shaw
committed
docs: ipns publish key (#2055)
1 parent 982692d commit 3fc1a51

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cli/commands/name/publish.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = {
2020
},
2121
key: {
2222
alias: 'k',
23-
describe: 'Name of the key to be used or a valid PeerID, as listed by "ipfs key list -l". Default: self.',
23+
describe: 'Name of the key to be used, as listed by "ipfs key list -l". Default: self.',
2424
default: 'self'
2525
},
2626
ttl: {

src/core/components/name.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ module.exports = function name (self) {
5252
* @param {String} options.ttl time duration this record should be cached for (NOT IMPLEMENTED YET).
5353
* This accepts durations such as "300s", "1.5h" or "2h45m". Valid time units are
5454
"ns", "ms", "s", "m", "h" (caution: experimental).
55-
* @param {String} options.key name of the key to be used or a valid PeerID, as listed by 'ipfs key list -l'.
55+
* @param {String} options.key name of the key to be used, as listed by 'ipfs key list -l'.
5656
* @param {function(Error)} [callback]
5757
* @returns {Promise|void}
5858
*/

0 commit comments

Comments
 (0)