lib/hieracles/optparse.rb in hieracles-0.0.6 vs lib/hieracles/optparse.rb in hieracles-0.1.0
- old
+ new
@@ -26,9 +26,13 @@
aliases: ['b', 'basepath']
},
encpath: {
has_arg: true,
aliases: ['e', 'encpath']
+ },
+ version: {
+ has_arg: false,
+ aliases: ['v', 'version']
}
}
def initialize(array)
@options = {}