Xarchiver: hep for developing the add cmd-line switch

Colossus colossus73 at gmail.com
Mon Jun 19 15:20:03 CEST 2006


Hi,

I have completed the extract and add dialog for xarchiver. The switch
for handling extraction from the cmd-line are also completed. I was
developing the switches for handling add now but I met a problem. How
to catch from the command line the number of files the user want to
add ? For example

xarchiver -d foo.zip file1 file2 file3 file4 .... fileX

I'm not so expert in parsing the command line.
Also I don't know how to put together the code who checks for the
existence of the switches on cmd-line and the code who opens the
archive if the user supplies it on the cmd-line without any switch
like this:

xarchiver foo.zip

Can someone of you give me an help ? I'm really close to release a
beta so everyone can test it.


Thank you,
Giuseppe Torelli
-- 
Colossus
Xarchiver, a Linux GTK+2 only archive manager - http://xarchiver.xfce.org
Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net
Mizio, a QT proxy hunter scanner tool - http://mizio.sourceforge.net



More information about the Xfce4-dev mailing list