mirror of
https://github.com/nushell/nushell.git
synced 2025-05-29 06:17:54 +02:00
For some commands like `which` -h flag would trigger an error asking for missing required parameters instead of printing the help message as it does with --help. This commit adds a check in the command parser to avoid that.