Compare commits

...

1 Commits
v0.1.1 ... main

Author SHA1 Message Date
541886e9ad Fix slice out of bounds
Closes #1
2024-12-12 01:17:52 -05:00

1
cli.go
View File

@ -81,6 +81,7 @@ func (this *Cli) Parse (args []string) (*Cli, error) {
if len(args) > 0 { args = args[1:] }
next := func () string {
if len(args) < 1 { return "" }
args = args[1:]
if len(args) > 0 {
return args[0]