[kde-linux] KDE and Ruby

Skip Coon scoon2004 at gmail.com
Tue Mar 14 04:18:01 UTC 2006


Hey all,

I am using the KDE bindings for Ruby (Korundum).  I have had no luck in
passing extra CLI args into my program.  I have searched and been on irc but
have not had any success.

I want to pass a file into my program like this: foo.rb -f bar.mp3

I think I need to use KDE::CmdLIneArgs.addCmdLineOptions but when I try and
add a new arg, I  get an error that says -f is not valid and give me a (not
very) help screen.  I would like to be able to name my argument flags on my
own, not rely on using some of the presets.  ie: foo.rb --config bar.mp3


Any help or pointing to other resources would be greatly appreciated.

-scoon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20060313/c960fb75/attachment.html>


More information about the kde-linux mailing list