[kde-linux] KDE and Ruby
scoon2004 at gmail.com
Tue Mar 14 04:18:01 UTC 2006
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the kde-linux