fix bug no pass argument
continuous-integration/drone/push Build is passing

This commit is contained in:
Jay
2020-02-13 01:40:36 +00:00
parent 3cb2174bbd
commit b893db5e14
+1 -1
View File
@@ -104,7 +104,7 @@ func (p *Parser) parse(args *[]string) error {
if p.parsed { if p.parsed {
return nil return nil
} }
if len(*args) < 1 { if len(p.args) < 1 {
return nil return nil
} }