Show help for default command (#953)

Shows help if the default command was called without any arguments but has required arguments.
This way it does not hinder execution of a default command without any required arguments.

When called without args:
- Default command with required params -> Show help
- Default command with required params and additional commands -> Show help including additional commands
- Default command without required params -> Execute command
This commit is contained in:
krisrok
2022-12-14 18:19:12 +01:00
committed by GitHub
parent b793482ebb
commit 4a8a4ab048
7 changed files with 449 additions and 319 deletions