mirror of
https://github.com/fiatjaf/nak.git
synced 2024-11-22 08:19:06 -05:00
global -q is persistent.
This commit is contained in:
parent
e18e8c00e7
commit
30ca5776c5
1
main.go
1
main.go
|
@ -30,6 +30,7 @@ var app = &cli.Command{
|
|||
Name: "quiet",
|
||||
Usage: "do not print logs and info messages to stderr, use -qq to also not print anything to stdout",
|
||||
Aliases: []string{"q"},
|
||||
Persistent: true,
|
||||
Action: func(ctx context.Context, c *cli.Command, b bool) error {
|
||||
q := c.Count("quiet")
|
||||
if q >= 1 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user