From 5c156fa55e2ee7980a6bbfc9a0a7df5b8984aef0 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 18 Dec 2024 01:29:07 -0600 Subject: add --purge to get rid of all notes --- stdin.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'stdin.go') diff --git a/stdin.go b/stdin.go index a28e3fa..51c0bcd 100644 --- a/stdin.go +++ b/stdin.go @@ -24,10 +24,7 @@ func showOptions(b bool, s []string) { } // if b == true, default is to continue with 'Y' -func simpleStdin(b bool, s []string) { - if argv.Auto { - return - } +func simpleStdinOld(b bool, s []string) { err := errors.New("user cancelled via stdin") showOptions(b, s) scanner := bufio.NewScanner(os.Stdin) -- cgit v1.2.3