summaryrefslogtreecommitdiff
path: root/flags/flags.go
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-04-14 17:37:35 +0200
committerewy <ewy0@protonmail.com>2026-04-14 17:37:39 +0200
commit087294f8a555b4ba87f999a4133102cb01de22a4 (patch)
treee3e094d2abc268eb38f60ce093b01513013dd24e /flags/flags.go
parent05108582840f3863dbcde4050a9c03fd7f35c948 (diff)
add reminder when using --yes
and remove nighlight from y/n when --yes
Diffstat (limited to 'flags/flags.go')
-rw-r--r--flags/flags.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/flags/flags.go b/flags/flags.go
index 2ce8045..9f62c38 100644
--- a/flags/flags.go
+++ b/flags/flags.go
@@ -9,4 +9,5 @@ var (
All = pflag.BoolP("all", "a", false, "get sources from cache instead of crawling")
Dry = pflag.BoolP("dry", "d", false, "print cmdlines instead of running them")
Root = pflag.BoolP("root", "r", false, "run targets (including triggers) with sudo")
+ Yes = pflag.BoolP("yes", "y", false, "auto-confirm y/n confirmations")
)