diff options
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) |
