(cliCtx *cli.Context, code int)
| 538 | } |
| 539 | |
| 540 | func showCommandHelpAndExit(cliCtx *cli.Context, code int) { |
| 541 | cli.ShowCommandHelp(cliCtx, cliCtx.Command.Name) |
| 542 | // Wait until the user quits the pager |
| 543 | globalHelpPager.WaitForExit() |
| 544 | os.Exit(code) |
| 545 | } |
| 546 | |
| 547 | func showAppHelpAndExit(cliCtx *cli.Context) { |
| 548 | cli.ShowAppHelp(cliCtx) |
no test coverage detected