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