summaryrefslogtreecommitdiff
path: root/src/rtfx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtfx.cpp')
-rw-r--r--src/rtfx.cpp10
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;