Revision 5ca3fa56
Added by Marc Dequènes over 15 years ago
- ID 5ca3fa56a345fc221c93722bc05e45d519a59348
bin/shadowwalker | ||
---|---|---|
ActiveLdap::Base.setup_connection(config[:ldap])
|
||
|
||
cmdparser = CmdParse::CommandParser.new(true)
|
||
cmdparser.program_name = ""
|
||
cmdparser.program_version = [0, 0, 1]
|
||
cmdparser.banner = LdapShadows::PRODUCT
|
||
cmdparser.program_name = File.basename(__FILE__)
|
||
cmdparser.program_version = LdapShadows::VERSION.split(".")
|
||
|
||
cmdparser.options = CmdParse::OptionParserWrapper.new do |opt|
|
||
opt.separator "Global options:"
|
Also available in: Unified diff
[evol] improved cmdparse general info