[ttx] should also white-list 'no-recalc-timestamp' for getopt to work

aargh..

Follow up from #1455
This commit is contained in:
Cosimo Lupo 2019-01-17 15:01:42 +00:00
parent 176f2e8244
commit 7a2fea9843
No known key found for this signature in database
GPG Key ID: 59D54DB0C9976482

View File

@ -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 = []