1
0
mirror of https://github.com/google/fonts.git synced 2024-12-01 11:14:14 +03:00

Mark flag required so we get a nicer message if omitted

This commit is contained in:
Rod Sheeter 2016-03-09 12:44:25 -08:00
parent ec6dc7d4d5
commit 0ffc56f41a

View File

@ -7,7 +7,8 @@ import gflags as flags
FLAGS = flags.FLAGS
flags.DEFINE_string('nam_file', '', 'Location of file containing the codepoints')
flags.DEFINE_string('nam_file', None, 'Location of nam file')
flags.MarkFlagAsRequired('nam_file')
def main(_):