diff --git a/shell.go b/shell.go index 968caff..a79f353 100644 --- a/shell.go +++ b/shell.go @@ -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: