Implement quiet CLI flag, only report URLs for history with quiet

This commit is contained in:
timvisee 2018-11-21 21:55:19 +01:00
parent 3ea774e227
commit 5ac3cd4b15
No known key found for this signature in database
GPG key ID: 109CBA0BF74036C2
4 changed files with 64 additions and 41 deletions

View file

@ -123,6 +123,13 @@ impl<'a: 'b, 'b> Handler<'a> {
))
),
)
.arg(
Arg::with_name("quiet")
.long("quiet")
.short("q")
.global(true)
.help("Produce output suitable for logging and automation"),
)
.arg(
Arg::with_name("verbose")
.long("verbose")