diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2011-03-07 16:31:11 +0100 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2011-03-07 16:31:11 +0100 |
commit | 5d493f49ae63249f4781a9e7228dda55fb0fff13 (patch) | |
tree | 32b68c3a1be414e0af464f9526be483bf1c7fe82 /idlc | |
parent | 606317ec8025a9a7cf263744fc988c183caaeec0 (diff) | |
parent | 23dc5111f2e717320d0ab169f5f522c9dce31b52 (diff) |
CWS-TOOLING: integrate CWS jsc340
Notes
Notes:
split repo tag: ure_ooo/DEV300_m102
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/source/options.cxx | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/idlc/source/options.cxx b/idlc/source/options.cxx index 1afc3b4765b9..310afa2a4d60 100644 --- a/idlc/source/options.cxx +++ b/idlc/source/options.cxx @@ -40,6 +40,12 @@ using rtl::OString; using rtl::OStringBuffer; +#ifdef SAL_UNX +#define SEPARATOR '/' +#else +#define SEPARATOR '\\' +#endif + Options::Options(char const * progname) : m_program(progname), m_stdin(false), m_verbose(false), m_quiet(false) { @@ -351,7 +357,7 @@ OString Options::prepareHelp() help += " requirements.\n"; help += " -w = display warning messages.\n"; help += " -we = treat warnings as errors.\n"; - help += " -h|-? = print this help message and exit.\n"; + help += " -h|-? = print this help message and exit.\n\n"; help += prepareVersion(); return help; @@ -359,8 +365,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; } |