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

wmp tool with right arguments gives usage message #12

Closed
adbjesus opened this issue Dec 25, 2014 · 1 comment
Closed

wmp tool with right arguments gives usage message #12

adbjesus opened this issue Dec 25, 2014 · 1 comment

Comments

@adbjesus
Copy link
Contributor

When calling wmp, for example:

wmp -a 10 10

It returns the usage message

usage: ./wmp -ar <x> <y>

To me, it seems like the problem is in line 42, it should be

if(argc != 4)

instead of

if(argc != 2)
@adbjesus
Copy link
Contributor Author

Fixed with merge #13

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

No branches or pull requests

1 participant