diff --git a/cmd/containerd/command/main.go b/cmd/containerd/command/main.go index c18794a9c8..c4d58c1322 100644 --- a/cmd/containerd/command/main.go +++ b/cmd/containerd/command/main.go @@ -119,6 +119,10 @@ can be used and modified as necessary as a custom configuration.` ociHook, } app.Action = func(cliContext *cli.Context) error { + if args := cliContext.Args(); args.First() != "" { + return cli.ShowCommandHelp(cliContext, args.First()) + } + var ( start = time.Now() signals = make(chan os.Signal, 2048)