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

need better error message on unrecognized command #1436

Closed
whyrusleeping opened this issue Jul 1, 2015 · 2 comments
Closed

need better error message on unrecognized command #1436

whyrusleeping opened this issue Jul 1, 2015 · 2 comments
Labels
exp/novice Someone with a little familiarity can pick up help wanted Seeking public contribution on this issue kind/bug A bug in existing code (including security flaws) topic/commands Topic commands

Comments

@whyrusleeping
Copy link
Member

If i mistype a command i get something ugly:

whyrusleeping@idril ~> ipfs int
Error: Expected 0 arguments, got 1: [int]

Use 'ipfs  --help' for information about this command

I'd like something like:

whyrusleeping@idril ~> ipfs int
Unrecognized command 'int'

Did you mean 'init' ?
@whyrusleeping whyrusleeping added kind/bug A bug in existing code (including security flaws) help wanted Seeking public contribution on this issue topic/commands Topic commands difficulty: easy labels Jul 1, 2015
@sbruce
Copy link
Contributor

sbruce commented Jul 13, 2015

I've been working on this. I should have a pull request, for review, soon.

sbruce added a commit to sbruce/go-ipfs that referenced this issue Jul 14, 2015
Closes issue ipfs#1436

License: MIT
Signed-off-by: Shaun Bruce <[email protected]>
sbruce added a commit to sbruce/go-ipfs that referenced this issue Jul 15, 2015
Closes issue ipfs#1436

License: MIT
Signed-off-by: Shaun Bruce <[email protected]>
sbruce added a commit to sbruce/go-ipfs that referenced this issue Jul 15, 2015
Closes issue ipfs#1436

License: MIT
Signed-off-by: Shaun Bruce <[email protected]>
sbruce added a commit to sbruce/go-ipfs that referenced this issue Jul 17, 2015
Closes issue ipfs#1436

License: MIT
Signed-off-by: Shaun Bruce <[email protected]>
sbruce added a commit to sbruce/go-ipfs that referenced this issue Jul 17, 2015
Closes issue ipfs#1436

License: MIT
Signed-off-by: Shaun Bruce <[email protected]>
sbruce added a commit to sbruce/go-ipfs that referenced this issue Jul 28, 2015
Closes issue ipfs#1436

License: MIT
Signed-off-by: Shaun Bruce <[email protected]>
kbala444 pushed a commit to kbala444/go-ipfs that referenced this issue Aug 15, 2015
Closes issue ipfs#1436

License: MIT
Signed-off-by: Shaun Bruce <[email protected]>
@whyrusleeping
Copy link
Member Author

I believe this has been fixed

@RichardLitt RichardLitt added the exp/novice Someone with a little familiarity can pick up label Feb 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exp/novice Someone with a little familiarity can pick up help wanted Seeking public contribution on this issue kind/bug A bug in existing code (including security flaws) topic/commands Topic commands
Projects
None yet
Development

No branches or pull requests

3 participants