add: KCmdLineArgs::addCmdLineOptions(kpilotoptions, "kpilottest");
context: int main(int argc, char **argv){	FUNCTIONSETUP;	KAboutData about("kpilotTest",		I18N_NOOP("KPilotTest"),		KPILOT_VERSION,		"KPilot Tester",		KAboutData::License_GPL, "(C) 2001, Adriaan de Groot");	about.addAuthor("Adriaan de Groot",		I18N_NOOP("KPilot Maintainer"),		"groot@kde.org", "http://www.cs.kun.nl/~adridg/kpilot/");	KCmdLineArgs::init(argc, argv, &about);#ifdef DEBUG	KCmdLineArgs::addCmdLineOptions(debug_options, "debug", "debug");#endif	KCmdLineArgs::addCmdLineOptions(kpilotoptions, "kpilottest", 0L,		"debug");	KApplication::addCmdLineOptions();	KCmdLineArgs *p = KCmdLineArgs::parsedArgs();	KApplication a;#ifdef DEBUG	debug_level = -1;#endif	if (p->isSet("backup") || p->isSet("restore") || p->isSet("list"))	{		return syncTest(p);	}	if (p->isSet("conduit-list"))	{		return listConduits(p);	}	if (p->isSet("conduit-exec"))	{		if (p->isSet("test-local"))		{			return testConduit(p);		}		else		{			return execConduit(p);		}	}	// The default is supposed to be "list"	return syncTest(p);	/* NOTREACHED */	(void) test_id;}