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
should help support --help? / help can't help help #5557
Comments
Ah... Looks like |
So you mean that we should delete |
Unfortunately, we actually use it. I said "leftover" because it looks like it may be a leftover from before we had a commands library (not sure, it may not have been). However, we should probably make it behave better. The solution here is probably to just remove the length check. That is, convert "help" to "--help", even if there are other flags. Thoughts? |
Would it be better to formalize it as a command? With this kind of alias mapping: Edit: Stebalien was quicker 👏 |
Maybe? I'm not sure it's worth the effort (that would probably require deep changes to the commands library). |
Sorry @Stebalien , i have misunderstand your reply before.
Agree,I think that If you decide to do it,I am willing to do this work.Thx |
For now, we could probably use the same hack, but append to args.
in phase: Right now, we alias And keep it in mind as the cmdslib evolves. See if it's necessary to formalize it as a Not sure if stacking hacks on hacks is a good idea, but for this specific command it seems harmless and unlikely to ever require change. Thoughts? |
Agree!@djdv , I am working for it right now.Thx a lot for very nice advices!!! |
Fixed. |
This is a strange one, but I'm reporting it anyway.
ipfs help --help
This seems to be the only command that doesn't support the
--help
flag.While it probably wouldn't do anything more than the bare
help
subcommand itself, I found the error odd.The text was updated successfully, but these errors were encountered: