diff options
| author | ewy <ewy0@protonmail.com> | 2026-04-17 01:09:54 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-04-17 01:09:54 +0200 |
| commit | 33e196b645be18f788f79937bf936eaebb642d65 (patch) | |
| tree | ff0e376f211bfb12a3071b71e951116393eb5b74 /main.go | |
| parent | 4ad8e6dba9bcb0aa9bf3922bf1f7f63c8b91bddb (diff) | |
add reason why you are being asked for confirmation
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2,6 +2,7 @@ package main import ( _ "embed" + "fmt" "github.com/spf13/pflag" "os" "pik/cache" @@ -161,6 +162,7 @@ func main() { } if confirm || ForceConfirm { + _, _ = fmt.Fprintf(os.Stderr, "this target is out of tree.\n") if !menu.Confirm(os.Stdin, src, target, args...) { os.Exit(0) } |
