-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Remove deno help [subcommand]
option as it is redundant due to --help
and -h
#4827
Comments
There is
This is |
@nayeemrmn So |
Yeah, though you meant |
@nayeemrmn whoops, yes Why not remove the |
Cargo has it, there's probably a reason |
help
--help
confusing and not consistanthelp
option as it is redandant due to --help
and -h
@nayeemrmn I changed the issue, see if anyone else agrees with me, |
help
option as it is redandant due to --help
and -h
deno help [subcommand]
option as it is redandant due to --help
and -h
deno help [subcommand]
option as it is redandant due to --help
and -h
deno help [subcommand]
option as it is redundant due to --help
and -h
You use help if you have no idea how to do something. In this case the command should just work. I do not see any possible mislead or misuse and would leave it as it is. |
@Caesar2011 But you can use
|
Those don't have subcommands :) Try |
@nayeemrmn You got me with the git example :) Maybe it is just me. |
these are the defaults for the flag parsing crate we use |
EDIT (changed title and add this summary):
deno help [subcommand]
is redundant, there should only bedeno [subcommand] --help
ordeno [subcommand] -h
-- original report
deno help fmt
- provides summary:deno fmt --help
- provides the same summary with different formatting:deno help test
- provides summary:deno test --help
- provides summary with much additional information (for example-r
):I can't really work out how to use the help system properly, having two different ways of getting to the same help with no real way to say if I want a summary is very confusing. Have I missed something, maybe this is all explained somewhere and I am misunderstanding? Thanks.
The text was updated successfully, but these errors were encountered: