From 28e74abf1c86405dad992877b04ca03f78b8a990 Mon Sep 17 00:00:00 2001 From: jvr Date: Thu, 9 Aug 2001 21:39:29 +0000 Subject: [PATCH] - fixed -d (forgot to add it to the getopt arg) - added comment that -s implies -f git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@150 4cde692c-a291-49d1-8350-778aa11640f8 --- ttDump.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ttDump.py b/ttDump.py index 23409490f..c550e74ac 100644 --- a/ttDump.py +++ b/ttDump.py @@ -2,6 +2,7 @@ """\ usage: %s [-hvisf] [-t ] [-x
] [-d ] TrueType-file(s) + Dump TrueType fonts as TTX files (an XML-based text format). Options: @@ -16,7 +17,7 @@ usage: %s [-hvisf] [-t
] [-x
] [-d ] TrueType-file(s) The files will be saved in a directory. The name of this directory will be constructed from the input filename (by dropping the extension) or can be specified by the optional - TTX-output-file argument. + TTX-output-file argument. This option implies -f. -f Force overwriting existing files. -d Specify a directory in which the output file(s) should end up. The directory must exist. @@ -30,7 +31,7 @@ usage: %s [-hvisf] [-t
] [-x
] [-d ] TrueType-file(s) import sys, os, getopt from fontTools import ttLib -options, args = getopt.getopt(sys.argv[1:], "hvisft:x:") +options, args = getopt.getopt(sys.argv[1:], "hvisft:x:d:") # default values verbose = 0