Correct typo in info command

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar 2023-05-30 10:58:30 +02:00
parent 5371ff039b
commit 9ea214d0b3

View File

@ -35,13 +35,13 @@ func NewCommand(logger *logrus.Logger) *cli.Command {
// build // build
func (m command) build() *cli.Command { func (m command) build() *cli.Command {
// Create the 'hook' command // Create the 'info' command
hook := cli.Command{ info := cli.Command{
Name: "info", Name: "info",
Usage: "Provide information about the system", Usage: "Provide information about the system",
} }
hook.Subcommands = []*cli.Command{} info.Subcommands = []*cli.Command{}
return &hook return &info
} }