checkVersionEnableSyntax - validate all the passed arguments
(ctx *cli.Context)
| 71 | |
| 72 | // checkVersionEnableSyntax - validate all the passed arguments |
| 73 | func checkVersionEnableSyntax(ctx *cli.Context) { |
| 74 | if len(ctx.Args()) != 1 { |
| 75 | showCommandHelpAndExit(ctx, 1) // last argument is exit code |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | type versionEnableMessage struct { |
| 80 | Op string |
no test coverage detected