Remove os.Stdout from shell.go completely

This commit is contained in:
Jan Philipp Timme 2019-01-01 19:42:22 +01:00
parent f7bb218403
commit 7c33b16b8c
1 changed files with 1 additions and 2 deletions

View File

@ -4,7 +4,6 @@ import (
"bufio"
"fmt"
"io"
"os"
"strings"
)
@ -27,7 +26,7 @@ func interactiveShell(reader io.Reader, writer io.Writer) {
switch cmd {
case "help", "?":
printHelp(os.Stdout)
printHelp(writer)
case "exit", "quit":
quitShell = true
default: