Xarchiver: behaviour of switch -n for Thunar integration

Colossus colossus73 at gmail.com
Mon Jun 26 11:25:24 CEST 2006


I developed the switch -n this way:

-n, --new=[archive name] [file1] [file2] ... [fileN]        Ask for
the archive to be created, add files to it and quits.

Someone have asked me to change it to:
-n, --new [file1]  [file2] [fileN] ...
Prompt for the archive name to create, and add files given in cmd line
in this new archive.

In the first case the user must supplies the archive name on the
command line; the new dialog who will appear will have this name
automatically entered in the 'Name' field of the GtkFileChooser.

In the second case the user must supplies only the files to add on the
command line; the archive name is entered in the New dialog who

My question are:
1) which behaviour is best for Thunar integration ?
2) shall I change the behaviour of other switches always for Thunar
integration ?

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