1.1 --- a/convert.py Fri Mar 22 00:58:40 2013 +0100
1.2 +++ b/convert.py Fri Mar 22 01:34:41 2013 +0100
1.3 @@ -468,9 +468,18 @@
1.4 else:
1.5 attachments = None
1.6 except IndexError:
1.7 - print >>sys.stderr, "Please specify an XML file containing Wiki data, a workspace name,"
1.8 - print >>sys.stderr, "and an optional attachments directory location."
1.9 - print >>sys.stderr, "For example: com_entities.xml COM"
1.10 + print >>sys.stderr, """
1.11 +Please specify an XML file containing Wiki data, a workspace name, and an
1.12 +optional attachments directory location. For example:
1.13 +
1.14 +com_entities.xml COM attachments
1.15 +
1.16 +Adding --no-translate will unpack the Wiki but not translate the content.
1.17 +When doing so without an attachments directory, add an empty argument as
1.18 +follows:
1.19 +
1.20 +com_entities.xml COM '' --no-translate
1.21 +"""
1.22 sys.exit(1)
1.23
1.24 no_translate = "--no-translate" in sys.argv