Add pg_ldap_sync --version
This commit is contained in:
parent
611abf1594
commit
2d700214af
@ -342,6 +342,7 @@ class Application
|
|||||||
s.log.level = Logger::ERROR
|
s.log.level = Logger::ERROR
|
||||||
|
|
||||||
OptionParser.new do |opts|
|
OptionParser.new do |opts|
|
||||||
|
opts.version = VERSION
|
||||||
opts.banner = "Usage: #{$0} [options]"
|
opts.banner = "Usage: #{$0} [options]"
|
||||||
opts.on("-v", "--[no-]verbose", "Increase verbose level"){ s.log.level-=1 }
|
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=))
|
opts.on("-c", "--config FILE", "Config file [#{s.config_fname}]", &s.method(:config_fname=))
|
||||||
|
Reference in New Issue
Block a user