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

[TVMC] fail gracefully in case no subcommand is provided #6625

Merged
merged 1 commit into from
Oct 6, 2020
Merged

[TVMC] fail gracefully in case no subcommand is provided #6625

merged 1 commit into from
Oct 6, 2020

Conversation

leandron
Copy link
Contributor

@leandron leandron commented Oct 5, 2020

This fixes an issue, when the user calls tvmc with no arguments at all. Rather than showing an AssertError, it now shows usage and exit with code 1. @hogepodge reported it on Discuss.

cc @comaniac @hogepodge

@hogepodge
Copy link
Contributor

lgtm, thanks!

@tqchen tqchen merged commit 82289ea into apache:master Oct 6, 2020
@leandron leandron deleted the tvmc_no_arguments branch October 6, 2020 12:51
TusharKanekiDey pushed a commit to TusharKanekiDey/tvm that referenced this pull request Oct 13, 2020
TusharKanekiDey pushed a commit to TusharKanekiDey/tvm that referenced this pull request Oct 14, 2020
TusharKanekiDey pushed a commit to TusharKanekiDey/tvm that referenced this pull request Oct 15, 2020
TusharKanekiDey pushed a commit to TusharKanekiDey/tvm that referenced this pull request Oct 16, 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.

4 participants