Afficher un message
Vieux 22/02/2008, 00h34   #1
Bryan Richardson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut OptionParser - no short options or incomplete options

Hello all,

Is it possible to force only complete, long options to be used in
OptionParser? I'm wanting to force users to enter the entire option for
certain destructive actions...

I've tried only including a '--long_option' as one of the options, but
if I use '-l' or even '--lon' as the option it still executes the code
specified for '--long_option'.

Any and all is appreciated!!!

--
Bryan
--
Posted via http://www.ruby-forum.com/.

  Réponse avec citation
 
Page generated in 0,05133 seconds with 9 queries