Merge pull request #441 from chef/chris-rock/fix-cli-supermarket

Fix supermarket cli registration
This commit is contained in:
Stephan Renatus 2016-02-09 16:44:57 +01:00
commit 69dca97c6d

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