jsc340: i14847: clean up cmdline help fo devtools
This commit is contained in:
parent
e9cece0160
commit
f3de0f63df
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -277,6 +277,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
|
||||
serviceKey.closeKey();
|
||||
rootKey.closeKey();
|
||||
pReg->close();
|
||||
delete pReg;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user