jsc340: i14847: clean up cmdline help fo devtools

This commit is contained in:
Juergen Schmidt 2010-10-01 14:20:45 +02:00
parent e9cece0160
commit f3de0f63df
10 changed files with 18 additions and 22 deletions

View File

@ -247,9 +247,8 @@ OString CorbaOptions::prepareHelp()
OString CorbaOptions::prepareVersion()
{
OString version("\nSun Microsystems (R) ");
OString version(m_program);
version += m_program + " Version 2.0\n\n";
return version;
}

View File

@ -346,9 +346,8 @@ OString CppuOptions::prepareHelp()
OString CppuOptions::prepareVersion()
{
OString version("\nSun Microsystems (R) ");
version += m_program + " Version 2.0\n\n";
OString version(m_program);
version += " Version 2.0\n\n";
return version;
}

View File

@ -321,9 +321,8 @@ OString CunoOptions::prepareHelp()
OString CunoOptions::prepareVersion()
{
OString version("\nSun Microsystems (R) ");
version += m_program + " Version 1.0\n\n";
OString version(m_program);
version += " Version 1.0\n\n";
return version;
}

View File

@ -242,9 +242,8 @@ OString IdlOptions::prepareHelp()
OString IdlOptions::prepareVersion()
{
OString version("\nSun Microsystems (R) ");
version += m_program + " Version 2.0\n\n";
OString version(m_program);
version += " Version 2.0\n\n";
return version;
}

View File

@ -290,9 +290,8 @@ OString JavaOptions::prepareHelp()
OString JavaOptions::prepareVersion()
{
OString version("\nSun Microsystems (R) ");
version += m_program + " Version 2.0\n\n";
OString version(m_program);
version += " Version 2.0\n\n";
return version;
}

View File

@ -277,6 +277,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
serviceKey.closeKey();
rootKey.closeKey();
pReg->close();
delete pReg;
return 0;
}

View File

@ -575,7 +575,7 @@ void DoIt::operator() (const OUString & url) throw()
if ( ! _bSilent )
{
fprintf(stderr, "register component '%s' in registry '%s' succesful!\n", sUrl.getStr(), _sRegName.getStr());
fprintf(stderr, "register component '%s' in registry '%s' successful!\n", sUrl.getStr(), _sRegName.getStr());
}
}
@ -604,7 +604,7 @@ void DoIt::operator() (const OUString & url) throw()
if (bRet)
{
if ( ! _bSilent )
fprintf(stderr, "revoke component '%s' from registry '%s' succesful!\n", sUrl.getStr(), _sRegName.getStr());
fprintf(stderr, "revoke component '%s' from registry '%s' successful!\n", sUrl.getStr(), _sRegName.getStr());
}
else
{

View File

@ -343,8 +343,8 @@ OString Options::prepareHelp()
OString Options::prepareVersion()
{
OString version("\nSun Microsystems (R) ");
version += m_program + " Version 1.1\n\n";
OString version(m_program);
version += " Version 1.1\n\n";
return version;
}

View File

@ -311,8 +311,8 @@ OString Options::prepareHelp()
OString Options::prepareVersion()
{
OString version("\nSun Microsystems (R) ");
version += m_program + " Version 1.0\n\n";
OString version(m_program);
version += " Version 1.0\n\n";
return version;
}

View File

@ -405,8 +405,8 @@ OString Options::prepareHelp()
OString Options::prepareVersion()
{
OString version("\nSun Microsystems (R) ");
version += m_program + " Version 1.0\n\n";
OString version(m_program);
version += " Version 1.0\n\n";
return version;
}