Fixing a regression introduced during CLI refactoring. "pnpm <cmd> --help" should print an error about <cmd>. PR #2204