mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-10-18 19:10:30 +08:00
Use humantime to parse timeouts
In issue
29c6c6fc81
was noted that it would be nice to use value parsers for the timeouts in
the CLI.
This patch implements this.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Co-Authored-by: Fintan Halpenny <fintan.halpenny@gmail.com>
This commit is contained in:
committed by
Fintan Halpenny
co-authored by
Fintan Halpenny
parent
52e5581228
commit
99d9242122
@@ -66,6 +66,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- The `TypeName` strings defined in `radicle-cob` are restricted to reflect the
|
||||
size limits on domain names as specified in
|
||||
[RFC-1035](https://www.rfc-editor.org/rfc/rfc1035#section-2.3.4).
|
||||
- The `--timeout` flag, which is available on a number of CLI subcommands, now
|
||||
takes a human-readable duration as parameter, E.G. "9s" or "1min" instead of
|
||||
"9" or "60".
|
||||
|
||||
## 1.6.1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user