fix bug no pass argument
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3cb2174bbd
commit
b893db5e14
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user