From 796af68a69b42027fa5bbed24a377ee75e7a4fd4 Mon Sep 17 00:00:00 2001 From: Christoph Hartmann Date: Tue, 9 Feb 2016 15:22:29 +0100 Subject: [PATCH] Fix supermarket cli registration --- lib/bundles/inspec-supermarket/cli.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bundles/inspec-supermarket/cli.rb b/lib/bundles/inspec-supermarket/cli.rb index 0b501f879..b54c9a2aa 100644 --- a/lib/bundles/inspec-supermarket/cli.rb +++ b/lib/bundles/inspec-supermarket/cli.rb @@ -45,5 +45,5 @@ module Supermarket end # register the subcommand to Inspec CLI registry - Inspec::Plugins::CLI.register(Supermarket::SupermarketCLI, 'supermarket', 'supermarket SUBCOMMAND ...', 'Supermarket commands', {}) + Inspec::Plugins::CLI.add_subcommand(Supermarket::SupermarketCLI, 'supermarket', 'supermarket SUBCOMMAND ...', 'Supermarket commands', {}) end