From: "Peña, Botp" Date: 2007-10-20T12:41:46+09:00 Subject: Re: [ANN] main-2.0.0 From: ara.t.howard [mailto:ara.t.howard@gmail.com] # def run # print usage.to_s arggh, i did not try the to_s :) thanks # exit # end # the reason that the 'to_s' is required is that the usage returns and # object that inherits from array and ruby treats 'puts an_array' # specially. i should changed that in the next version... regardless # 'usage.to_s' will continue to work. no problem, ara. The usage.to_s is good enough. # i'd be interested to see what you come up with for an auto usage # message - that part was very hard for me and i'm not sure # mine is the # best. # no, the automessage part is fine. my plan really is to add more info on --help and i was looking where to add more :) eg, i want to add sections like "other info", "gotchas", "copyright", "reporting bugs", and "see also". # glad you are using it, and the feedback is really welcome - it's # surprisingly difficult to get this working smoothly for even # a modest # sample of command line apps - there are a lot of variables! ;-) # # look for main-2.0.1 later today... it's working great. really. my suggestions were purely cosmetics. and btw, the new mode option is cool. many thanks again. kind regards -botp