No Arguments in subcommands #2301
Answered
by
pksunkara
amanjiofficial
asked this question in
Q&A
-
I want to print help, If there are no arguments passed in sub commands. Is there any way? |
Beta Was this translation helpful? Give feedback.
Answered by
pksunkara
Jan 19, 2021
Replies: 1 comment 2 replies
-
Please read the documentation carefully. We already have all this information in there. https://docs.rs/clap/2.33.3/clap/enum.AppSettings.html#variant.ArgRequiredElseHelp |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
pksunkara
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please read the documentation carefully. We already have all this information in there.
https://docs.rs/clap/2.33.3/clap/enum.AppSettings.html#variant.ArgRequiredElseHelp