diff options
| author | Jeff Carr <[email protected]> | 2024-12-18 01:29:07 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-18 01:29:07 -0600 |
| commit | 5c156fa55e2ee7980a6bbfc9a0a7df5b8984aef0 (patch) | |
| tree | 6676861bb505351bd2ab375a7036f0a59ebc14d9 /stdin.go | |
| parent | 4879befeb3ad89f0357f995413afcab904296599 (diff) | |
add --purge to get rid of all notesv0.0.19
Diffstat (limited to 'stdin.go')
| -rw-r--r-- | stdin.go | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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) |
