Closed jayvdb closed 7 years ago
the issue is two fold. There's a way to reduce the size of the --help
which is would be to have docopt support optional positional arguments using []
(which it does not cf #27). But the better approach as you're suggesting is planned for v2 in #28, which is to build git-repo with a command/subcommand approach to the help.
The reason why I chose the lengthy help approach was because it helped me craft the commands as I went easily making the necessary little changes to make it more convenient. But that's definitely less elegant and a rock in the shoe when it comes to document.
So I'm closing this issue so the discussion goes within #28.
This is likely a problem upstream in
docopt
, but it would be nice if the help showed only the relevant help.Currently it shows the entire help.