mirror of
https://github.com/timvisee/ffsend.git
synced 2025-10-04 09:59:17 +02:00
Implement quiet CLI flag, only report URLs for history with quiet
This commit is contained in:
parent
3ea774e227
commit
5ac3cd4b15
4 changed files with 64 additions and 41 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue