fix bug no pass argument
All checks were successful
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

View File

@ -104,7 +104,7 @@ func (p *Parser) parse(args *[]string) error {
if p.parsed {
return nil
}
if len(*args) < 1 {
if len(p.args) < 1 {
return nil
}