aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/myshell/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/myshell/main.go b/cmd/myshell/main.go
index 763ab2a..beac132 100644
--- a/cmd/myshell/main.go
+++ b/cmd/myshell/main.go
@@ -17,7 +17,7 @@ func main() {
fmt.Println(err.Error())
}
- commads := strings.Split(in, " ")
+ commands := strings.Split(in, " ")
switch in {
case commnds[0] == "exit":