diff options
| author | ewy <ewy0@protonmail.com> | 2026-04-14 17:37:35 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-04-14 17:37:39 +0200 |
| commit | 087294f8a555b4ba87f999a4133102cb01de22a4 (patch) | |
| tree | e3e094d2abc268eb38f60ce093b01513013dd24e /flags | |
| parent | 05108582840f3863dbcde4050a9c03fd7f35c948 (diff) | |
add reminder when using --yes
and remove nighlight from y/n when --yes
Diffstat (limited to 'flags')
| -rw-r--r-- | flags/flags.go | 1 |
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") ) |
