vendored/puppet/lib/puppet/face/module/list.rb in bolt-0.20.3 vs vendored/puppet/lib/puppet/face/module/list.rb in bolt-0.20.5

- old
+ new

@@ -15,14 +15,10 @@ option "--tree" do summary _("Whether to show dependencies as a tree view") end - option '--strict-semver' do - summary _('Whether version ranges should exclude pre-release versions') - end - examples <<-'EOT' List installed modules: $ puppet module list /etc/puppetlabs/code/modules @@ -75,10 +71,9 @@ environment = result[:environment] modules_by_path = result[:modules_by_path] output = '' - environment.modules_strict_semver = !!options[:strict_semver] warn_unmet_dependencies(environment) environment.modulepath.each do |path| modules = modules_by_path[path] no_mods = modules.empty? ? _(' (no modules installed)') : ''