docs(cli): fix spelling
this fixes lint errors in RPC docs that were raised by vole in https://github.com/ipfs/ipfs-docs/pull/1772 so we don't get them in kubo 0.25
Marcin Rataj committed
Dec 1, 2023 at 01:21 UTC
7b05b5dd33eebd18d0325202d8f2dc312e74dc5a
2 files changed
+2
-2
core/commands/name/ipns.go
+1
-1
@@ -74,7 +74,7 @@ Resolve the value of a dnslink:
74
cmds.BoolOption(recursiveOptionName, "r", "Resolve until the result is not an IPNS name.").WithDefault(true),
75
cmds.BoolOption(nocacheOptionName, "n", "Do not use cached entries."),
76
cmds.UintOption(dhtRecordCountOptionName, "dhtrc", "Number of records to request for DHT resolution.").WithDefault(uint(namesys.DefaultResolverDhtRecordCount)),
77
- cmds.StringOption(dhtTimeoutOptionName, "dhtt", "Max time to collect values during DHT resolution eg \"30s\". Pass 0 for no timeout.").WithDefault(namesys.DefaultResolverDhtTimeout.String()),
77
+ cmds.StringOption(dhtTimeoutOptionName, "dhtt", "Max time to collect values during DHT resolution e.g. \"30s\". Pass 0 for no timeout.").WithDefault(namesys.DefaultResolverDhtTimeout.String()),
78
cmds.BoolOption(streamOptionName, "s", "Stream entries as they are found."),
79
},
80
Run: func(req *cmds.Request, res cmds.ResponseEmitter, env cmds.Environment) error {
core/commands/resolve.go
+1
-1
@@ -70,7 +70,7 @@ Resolve the value of an IPFS DAG path:
70
Options: []cmds.Option{
71
cmds.BoolOption(resolveRecursiveOptionName, "r", "Resolve until the result is an IPFS name.").WithDefault(true),
72
cmds.IntOption(resolveDhtRecordCountOptionName, "dhtrc", "Number of records to request for DHT resolution."),
73
- cmds.StringOption(resolveDhtTimeoutOptionName, "dhtt", "Max time to collect values during DHT resolution eg \"30s\". Pass 0 for no timeout."),
73
+ cmds.StringOption(resolveDhtTimeoutOptionName, "dhtt", "Max time to collect values during DHT resolution e.g. \"30s\". Pass 0 for no timeout."),
74
},
75
Run: func(req *cmds.Request, res cmds.ResponseEmitter, env cmds.Environment) error {
76
api, err := cmdenv.GetApi(env, req)