aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjet2tlf <jet2tlf@gmail.com>2024-05-30 02:18:33 +0000
committerjet2tlf <jet2tlf@gmail.com>2024-05-30 02:18:33 +0000
commit95e9600399363fa694579795d5aa668e9073b224 (patch)
treeecc434986d4f10519db133ad48868f00533db8ac
parenta299d37d9b85bd497bbf4bbf675e3339026d660d (diff)
downloadshell-go-95e9600399363fa694579795d5aa668e9073b224.tar.gz
shell-go-95e9600399363fa694579795d5aa668e9073b224.zip
pass 4st stage
-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":