forked from toolshed/abra
refactor: deal with err from ShowSubcommandHelp
This commit is contained in:
@ -66,8 +66,7 @@ environment variable or otherwise passing the "--env/-e" flag.
|
||||
Action: func(c *cli.Context) error {
|
||||
name := c.Args().First()
|
||||
if name == "" {
|
||||
cli.ShowSubcommandHelp(c)
|
||||
return nil
|
||||
return cli.ShowSubcommandHelp(c)
|
||||
}
|
||||
|
||||
ctx := context.Background()
|
||||
|
Reference in New Issue
Block a user