Fix duplicate output on CLI help screen (#496)

* remove duplication

* add changeset

* fix formatting
This commit is contained in:
Joe Danziger
2025-05-14 07:12:15 -04:00
committed by GitHub
parent 4117f71c18
commit efce37469b
2 changed files with 12 additions and 13 deletions

View File

@@ -0,0 +1,11 @@
---
'task-master-ai': patch
---
Fix duplicate output on CLI help screen
- Prevent the Task Master CLI from printing the help screen more than once when using `-h` or `--help`.
- Removed redundant manual event handlers and guards for help output; now only the Commander `.helpInformation` override is used for custom help.
- Simplified logic so that help is only shown once for both "no arguments" and help flag flows.
- Ensures a clean, branded help experience with no repeated content.
- Fixes #339