Skip to content

Commit 7b05b5d

Browse files
lidelhacdias
authored andcommitted
docs(cli): fix spelling
this fixes lint errors in RPC docs that were raised by vole in ipfs/ipfs-docs#1772 so we don't get them in kubo 0.25
1 parent d882642 commit 7b05b5d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/commands/name/ipns.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Resolve the value of a dnslink:
7474
cmds.BoolOption(recursiveOptionName, "r", "Resolve until the result is not an IPNS name.").WithDefault(true),
7575
cmds.BoolOption(nocacheOptionName, "n", "Do not use cached entries."),
7676
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()),
7878
cmds.BoolOption(streamOptionName, "s", "Stream entries as they are found."),
7979
},
8080
Run: func(req *cmds.Request, res cmds.ResponseEmitter, env cmds.Environment) error {

core/commands/resolve.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Resolve the value of an IPFS DAG path:
7070
Options: []cmds.Option{
7171
cmds.BoolOption(resolveRecursiveOptionName, "r", "Resolve until the result is an IPFS name.").WithDefault(true),
7272
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."),
7474
},
7575
Run: func(req *cmds.Request, res cmds.ResponseEmitter, env cmds.Environment) error {
7676
api, err := cmdenv.GetApi(env, req)

0 commit comments

Comments
 (0)