From 7a2fea9843fd329372e6a50eaa47d517e9cfd127 Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Thu, 17 Jan 2019 15:01:42 +0000 Subject: [PATCH] [ttx] should also white-list 'no-recalc-timestamp' for getopt to work aargh.. Follow up from #1455 --- Lib/fontTools/ttx.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/fontTools/ttx.py b/Lib/fontTools/ttx.py index 44f76dff3..8f598f8a8 100644 --- a/Lib/fontTools/ttx.py +++ b/Lib/fontTools/ttx.py @@ -331,8 +331,8 @@ def guessFileType(fileName): def parseOptions(args): rawOptions, files = getopt.getopt(args, "ld:o:fvqht:x:sgim:z:baey:", - ['unicodedata=', "recalc-timestamp", 'flavor=', 'version', - 'with-zopfli', 'newline=']) + ['unicodedata=', "recalc-timestamp", "no-recalc-timestamp", + 'flavor=', 'version', 'with-zopfli', 'newline=']) options = Options(rawOptions, len(files)) jobs = []