1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-10-14 18:26:43 +08:00

cmds: rename DefaultVal -> Default, Default -> WithDefault

Propagate change from cmdkit.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
Steven Allen
2017-11-20 22:20:49 -08:00
parent 76e1da02a8
commit bcd25416d9
17 changed files with 33 additions and 33 deletions

View File

@ -76,7 +76,7 @@ Example:
cmdkit.StringOption("interval", "i", `Time interval to wait between updating output, if 'poll' is true.
This accepts durations such as "300s", "1.5h" or "2h45m". Valid time units are:
"ns", "us" (or "µs"), "ms", "s", "m", "h".`).Default("1s"),
"ns", "us" (or "µs"), "ms", "s", "m", "h".`).WithDefault("1s"),
},
Run: func(req cmds.Request, res cmds.ResponseEmitter) {