diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2024-11-24 02:59:00 -0500 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2024-11-24 02:59:00 -0500 |
commit | ac024fff3ce70b435a39de83f7aa3339668fdc6b (patch) | |
tree | 2e68d5d6c3517770fc8bae1da3e70f53a241e7e3 /cmd/termpicker/flags.go | |
parent | 56ceae9524f40ac89cd68796d1f8e6cd0560c80a (diff) |
Instant slider animation
Diffstat (limited to 'cmd/termpicker/flags.go')
-rw-r--r-- | cmd/termpicker/flags.go | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/cmd/termpicker/flags.go b/cmd/termpicker/flags.go index f3cfd53..660c053 100644 --- a/cmd/termpicker/flags.go +++ b/cmd/termpicker/flags.go @@ -2,4 +2,15 @@ package main import "github.com/urfave/cli/v2" -var AppFlags []cli.Flag = []cli.Flag{} +const ( + flagLogfile = "logfile" +) + +var AppFlags []cli.Flag = []cli.Flag{ + &cli.StringFlag{ + Name: flagLogfile, + Aliases: []string{"l"}, + Usage: "Log file", + Value: "/dev/null", // Don't log by default + }, +} |