Hi, At Wed, 31 Jul 2002 14:47:17 +0900, Patrick Bennett wrote: > Because I have separate methods/classes that are standalone (OO > remember? ;>) 'sub-commands' for an outer shell program. > xxx.rb "command" (global args) (args) > Each class or method is more or less independent of the other and they > each have arguments that only mean something to them. So set opts.ordering to GetoptLong::REQUIRE_ORDER, and make new GetoptLong instance according to the remained first argument. -- Nobu Nakada