summaryrefslogtreecommitdiff
path: root/src/rtfx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtfx.cpp')
-rw-r--r--src/rtfx.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/rtfx.cpp b/src/rtfx.cpp
index 8239b49..e305959 100644
--- a/src/rtfx.cpp
+++ b/src/rtfx.cpp
@@ -46,7 +46,7 @@
int usage()
{
- fprintf(stderr, "usage: rtfx [-p] [inrtf] [outxml]\n");
+ fprintf(stderr, "usage: rtfx [-pw] [inrtf] [outxml]\n");
exit(2);
}
@@ -71,6 +71,10 @@ int main(int argc, char* argv[])
options.extras = true;
break;
+ case 'w':
+ options.pretty = true;
+ break;
+
case '-':
arg = NULL;
break;