Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't print help message needlessly in emconfigure.py #9437

Merged
merged 3 commits into from
Sep 17, 2019
Merged

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Sep 13, 2019

No description provided.

@sbc100 sbc100 requested a review from kripken September 13, 2019 21:43
@@ -961,7 +961,7 @@ def test_wl_linkflags(self):
-lfoo
''')
run_process([PYTHON, EMCC, '-o', 'libfile.o', 'libfile.cpp'])
run_process([PYTHON, EMAR, 'rv', 'libfoo.a', 'libfile.o'])
run_process([PYTHON, EMAR, 'cr', 'libfoo.a', 'libfile.o'])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the changes in this file seem separate? (I'm not opposed to including them, though.)

But what does this specific one do?

emconfigure.py Outdated
@@ -31,7 +31,7 @@
# Main run() function
#
def run():
if len(sys.argv) < 2 or ('configure' not in sys.argv[1] and 'cmake' not in sys.argv[1]):
if len(sys.argv) < 2 or sys.argv[1] == '--version':
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps --help instead of --version, or in addition?

@sbc100 sbc100 merged commit 3cafd67 into incoming Sep 17, 2019
@sbc100 sbc100 deleted the fix_emconfigure branch September 17, 2019 02:53
belraquib pushed a commit to belraquib/emscripten that referenced this pull request Dec 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants