summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-04-17 01:09:54 +0200
committerewy <ewy0@protonmail.com>2026-04-17 01:09:54 +0200
commit33e196b645be18f788f79937bf936eaebb642d65 (patch)
treeff0e376f211bfb12a3071b71e951116393eb5b74 /main.go
parent4ad8e6dba9bcb0aa9bf3922bf1f7f63c8b91bddb (diff)
add reason why you are being asked for confirmation
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.go b/main.go
index a393a40..d06c3e7 100644
--- a/main.go
+++ b/main.go
@@ -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)
}