Fix supermarket cli registration

This commit is contained in:
Christoph Hartmann 2016-02-09 15:22:29 +01:00
parent 2cf3b7e093
commit 796af68a69

View file

@ -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