File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ def error(text):
38
38
39
39
def parse_args (argv ):
40
40
parser = argparse .ArgumentParser (description = __doc__ )
41
- parser .add_argument ('-format' )
41
+ parser .add_argument ('-format' , '--format' )
42
42
parser .add_argument ('file' )
43
43
args = parser .parse_args (argv )
44
44
return args .file
Original file line number Diff line number Diff line change @@ -605,7 +605,7 @@ def test_emsize(self):
605
605
# emcc tests/hello_world.c -Oz --closure 1 -o tests/other/test_emsize.js
606
606
expected = read_file (test_file ('other/test_emsize.out' ))
607
607
cmd = [emsize , test_file ('other/test_emsize.js' )]
608
- for command in [cmd , cmd + ['-format=sysv' ]]:
608
+ for command in [cmd , cmd + ['-- format=sysv' ]]:
609
609
output = self .run_process (cmd , stdout = PIPE ).stdout
610
610
self .assertContained (expected , output )
611
611
You can’t perform that action at this time.
0 commit comments