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 | 9cc0e5c3906692c2b34fbab5b5e8083fe8e5fb37 (patch) | |
tree | 52bfc3821b6e7c2a7f52f32df0c29e7f651d8a18 /idlc/source/options.cxx | |
parent | 60014d8471301bcab6512964e87767898f544e06 (diff) | |
parent | 3e38a544ec65dd533b9282afd4fbd23affb994b3 (diff) |
CWS-TOOLING: integrate CWS jsc340ooo/DEV300_m102
Diffstat (limited to 'idlc/source/options.cxx')
-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 3b7dee9e1..a9670050e 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; } |