Improve name publish ttl option documentation
License: MIT Signed-off-by: Adam Uhlir <uhlir.a@gmail.com>
Adam Uhlir committed
Feb 8, 2019 at 16:47 UTC
ff275f4c7871ca4a5ba6fc8cb8f1be9b77108ca6
1 file changed
+1
-1
core/commands/name/publish.go
+1
-1
@@ -78,7 +78,7 @@ Alternatively, publish an <ipfs-path> using a valid PeerID (as listed by
78
This accepts durations such as "300s", "1.5h" or "2h45m". Valid time units are
79
"ns", "us" (or "µs"), "ms", "s", "m", "h".`).WithDefault("24h"),
80
cmdkit.BoolOption(allowOfflineOptionName, "When offline, save the IPNS record to the the local datastore without broadcasting to the network instead of simply failing."),
81
- cmdkit.StringOption(ttlOptionName, "Time duration this record should be cached for (caution: experimental)."),
81
+ cmdkit.StringOption(ttlOptionName, "Time duration this record should be cached for. Uses the same syntax as the lifetime option. (caution: experimental)"),
82
cmdkit.StringOption(keyOptionName, "k", "Name of the key to be used or a valid PeerID, as listed by 'ipfs key list -l'.").WithDefault("self"),
83
cmdkit.BoolOption(quieterOptionName, "Q", "Write only final hash."),
84
},