|
|
|
@ -84,9 +84,9 @@ int main(int argc, char **argv)
|
|
|
|
|
VERSION, description, KAboutData::License_GPL,
|
|
|
|
|
// VERSION, description, 0,
|
|
|
|
|
"(c) 1999-2001, Toivo Pedaste");
|
|
|
|
|
KCmdLineArgs::init( argc, argv, &aboutData );
|
|
|
|
|
TDECmdLineArgs::init( argc, argv, &aboutData );
|
|
|
|
|
aboutData.addAuthor( "Toivo Pedaste",0, "toivo@ucs.uwa.edu.au");
|
|
|
|
|
KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.
|
|
|
|
|
TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
|
|
|
|
|
KApplication app;
|
|
|
|
|
|
|
|
|
|
kpkg = 0;
|
|
|
|
@ -97,7 +97,7 @@ int main(int argc, char **argv)
|
|
|
|
|
path = "PATH=" + path + ":/sbin:/usr/sbin:/usr/local/bin";
|
|
|
|
|
putenv(strdup(path.data()));
|
|
|
|
|
|
|
|
|
|
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
|
|
|
|
|
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
|
|
|
|
|
TQString remoteHost = args->getOption("remote");
|
|
|
|
|
|
|
|
|
|
if (remoteHost.isEmpty() || remoteHost == "localhost") {
|
|
|
|
|