On 23 May 2005, at 02:10, Kirill Shutemov wrote: > What about add to OptionsParser method 'usage': > > opts = OptionParser.new{|opts| > <skip/> > opts.usage("--operation1 [--optional_option] --required_option ARG > [--optional_option2 ARG]") > opts.usage("--operation2 [--optional_option] --required_option2 > [--optional_option3 ARG]") > <and_so_on/> > } > > I tried to do it by myself, but optparse.rb is too difficult for me :( You mean opts.banner and opts.separator? -- Eric Hodel - drbrain / segment7.net - http://segment7.net FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04