lib/hieracles/optparse.rb in hieracles-0.1.0 vs lib/hieracles/optparse.rb in hieracles-0.1.1

- old
+ new

@@ -30,9 +30,17 @@ aliases: ['e', 'encpath'] }, version: { has_arg: false, aliases: ['v', 'version'] + }, + yaml_facts: { + has_arg: true, + aliases: ['y', 'yaml'] + }, + json_facts: { + has_arg: true, + aliases: ['j', 'json'] } } def initialize(array) @options = {}