Add pg_ldap_sync --version

This commit is contained in:
Lars Kanis 2018-02-06 21:58:53 +01:00
parent 611abf1594
commit 2d700214af
No known key found for this signature in database
GPG Key ID: 20362776599898C0

View File

@ -342,6 +342,7 @@ class Application
s.log.level = Logger::ERROR
OptionParser.new do |opts|
opts.version = VERSION
opts.banner = "Usage: #{$0} [options]"
opts.on("-v", "--[no-]verbose", "Increase verbose level"){ s.log.level-=1 }
opts.on("-c", "--config FILE", "Config file [#{s.config_fname}]", &s.method(:config_fname=))