From ab89503faa30c7a0bda160ba03ed6678bdaad82c Mon Sep 17 00:00:00 2001 From: Kejie Zhang <601172892@qq.com> Date: Fri, 26 Oct 2018 14:38:17 +0800 Subject: [PATCH 1/2] clarification the document of --resolve flag in name.publish License: MIT Signed-off-by: Kejie Zhang <601172892@qq.com> --- core/commands/name/publish.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/commands/name/publish.go b/core/commands/name/publish.go index 3d6a0dd90..b0ebf7aa4 100644 --- a/core/commands/name/publish.go +++ b/core/commands/name/publish.go @@ -72,7 +72,7 @@ Alternatively, publish an using a valid PeerID (as listed by cmdkit.StringArg(ipfsPathOptionName, true, false, "ipfs path of the object to be published.").EnableStdin(), }, Options: []cmdkit.Option{ - cmdkit.BoolOption(resolveOptionName, "Resolve given path before publishing.").WithDefault(true), + cmdkit.BoolOption(resolveOptionName, "Check if the given path can be resolved before publishing. <>").WithDefault(true), cmdkit.StringOption(lifeTimeOptionName, "t", `Time duration that the record will be valid for. <> This accepts durations such as "300s", "1.5h" or "2h45m". Valid time units are From 3c29855e654f96aeb85fd635a37a21c763113dc8 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Thu, 24 Jan 2019 13:35:57 -0800 Subject: [PATCH 2/2] commands: remove extra <> text from help text License: MIT Signed-off-by: Steven Allen --- core/commands/name/publish.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/commands/name/publish.go b/core/commands/name/publish.go index b0ebf7aa4..add236613 100644 --- a/core/commands/name/publish.go +++ b/core/commands/name/publish.go @@ -72,7 +72,7 @@ Alternatively, publish an using a valid PeerID (as listed by cmdkit.StringArg(ipfsPathOptionName, true, false, "ipfs path of the object to be published.").EnableStdin(), }, Options: []cmdkit.Option{ - cmdkit.BoolOption(resolveOptionName, "Check if the given path can be resolved before publishing. <>").WithDefault(true), + cmdkit.BoolOption(resolveOptionName, "Check if the given path can be resolved before publishing.").WithDefault(true), cmdkit.StringOption(lifeTimeOptionName, "t", `Time duration that the record will be valid for. <> This accepts durations such as "300s", "1.5h" or "2h45m". Valid time units are