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:
parent
ec6dc7d4d5
commit
0ffc56f41a
@ -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(_):
|
||||
|
Loading…
Reference in New Issue
Block a user