lib/facter/framework/core/options.rb in facter-4.0.51 vs lib/facter/framework/core/options.rb in facter-4.0.52
- old
+ new
@@ -39,13 +39,12 @@
OptionStore.cli = false
ConfigFileOptions.init
store(ConfigFileOptions.get)
end
- def init_from_cli(cli_options = {}, user_query = nil)
+ def init_from_cli(cli_options = {})
Facter::OptionStore.cli = true
Facter::OptionStore.show_legacy = false
- Facter::OptionStore.user_query = user_query
Facter::OptionStore.trace = cli_options[:trace]
OptionStore.set(:config, cli_options[:config])
ConfigFileOptions.init(cli_options[:config])
store(ConfigFileOptions.get)
store(cli_options)