From f96174484cf0c07738e620888a55e476bec53fb5 Mon Sep 17 00:00:00 2001 From: Vasco Santos Date: Mon, 13 May 2019 18:18:56 +0100 Subject: [PATCH] docs: ipns publish key --- src/cli/commands/name/publish.js | 2 +- src/core/components/name.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli/commands/name/publish.js b/src/cli/commands/name/publish.js index bb67db22d0..8452f23248 100644 --- a/src/cli/commands/name/publish.js +++ b/src/cli/commands/name/publish.js @@ -20,7 +20,7 @@ module.exports = { }, key: { alias: 'k', - describe: 'Name of the key to be used or a valid PeerID, as listed by "ipfs key list -l". Default: self.', + describe: 'Name of the key to be used, as listed by "ipfs key list -l". Default: self.', default: 'self' }, ttl: { diff --git a/src/core/components/name.js b/src/core/components/name.js index aa43bd2a77..239d8ecc32 100644 --- a/src/core/components/name.js +++ b/src/core/components/name.js @@ -52,7 +52,7 @@ module.exports = function name (self) { * @param {String} options.ttl time duration this record should be cached for (NOT IMPLEMENTED YET). * This accepts durations such as "300s", "1.5h" or "2h45m". Valid time units are "ns", "ms", "s", "m", "h" (caution: experimental). - * @param {String} options.key name of the key to be used or a valid PeerID, as listed by 'ipfs key list -l'. + * @param {String} options.key name of the key to be used, as listed by 'ipfs key list -l'. * @param {function(Error)} [callback] * @returns {Promise|void} */