feat(cli): this program doest not need any args

main
hau 2021-01-05 15:51:39 +07:00
parent 2bcc16dd5f
commit 7dd3918be2
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ type action struct {
func (a *action) Run(c *cli.Context) error {
// Show help if there is nothing
if c.NArg() == 0 && c.NumFlags() == 0 {
if c.NumFlags() == 0 {
return cli.ShowAppHelp(c)
}