summaryrefslogtreecommitdiff
path: root/src/rtfx.cpp
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2005-06-08 16:14:54 +0000
committerStef Walter <stef@memberwebs.com>2005-06-08 16:14:54 +0000
commit099b3f5ad0a70070fd183b85aeee7d2420960f33 (patch)
treed367401daaf77502bdfc76e0072bc78a2e98d5c2 /src/rtfx.cpp
parentcf1f502a9fd8bd26e41c045ce6898a4ee29d40a8 (diff)
Added option for pretty printing whitespace in XML.
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;