diff options
author | Stef Walter <stef@memberwebs.com> | 2004-04-23 00:56:07 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2004-04-23 00:56:07 +0000 |
commit | 5b403b538d024f2a22783b2404a5b5f199892b4b (patch) | |
tree | 633391bc64c2c6ed76e1bad32de5b385339a57fd /src/rtfx.cpp | |
parent | f3ea0fbc731aad1e61ae72b24e503378d9596fae (diff) |
Changed name to RTFX due to a naming conflict
Diffstat (limited to 'src/rtfx.cpp')
-rw-r--r-- | src/rtfx.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/rtfx.cpp b/src/rtfx.cpp index 63c566b..7576d51 100644 --- a/src/rtfx.cpp +++ b/src/rtfx.cpp @@ -46,7 +46,7 @@ int usage() { - fprintf(stderr, "usage: rtfm <inrtf> <outxml>\n"); + fprintf(stderr, "usage: rtfx <inrtf> <outxml>\n"); return 2; } @@ -61,7 +61,7 @@ int main(int argc, char* argv[]) if(!file) { - fprintf(stderr, "rtfm: couldn't open file: %s: %s\n", argv[1], strerror(errno)); + fprintf(stderr, "rtfx: couldn't open file: %s: %s\n", argv[1], strerror(errno)); return 1; } @@ -75,7 +75,7 @@ int main(int argc, char* argv[]) if(!ret) { - fprintf(stderr, "rtfm: rtf parse failed: %s\n", rtf.getParseErrors().c_str()); + fprintf(stderr, "rtfx: rtf parse failed: %s\n", rtf.getParseErrors().c_str()); return 1; } @@ -86,7 +86,7 @@ int main(int argc, char* argv[]) FILE* out = fopen(argv[2], "wb"); if(!out) { - fprintf(stderr, "rtfm: couldn't open file: %s: %s\n", argv[2], strerror(errno)); + fprintf(stderr, "rtfx: couldn't open file: %s: %s\n", argv[2], strerror(errno)); return 1; } @@ -97,7 +97,7 @@ int main(int argc, char* argv[]) } catch(DOM::DOMException& e) { - fprintf(stderr, "rtfm: xml dom error: %s\n", e.getMessage()); + fprintf(stderr, "rtfx: xml dom error: %s\n", e.getMessage()); } return 1; |