summaryrefslogtreecommitdiff
path: root/stdin.go
diff options
context:
space:
mode:
Diffstat (limited to 'stdin.go')
-rw-r--r--stdin.go5
1 files changed, 1 insertions, 4 deletions
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)