chennaji9 opened a new pull request, #11341:
URL: https://github.com/apache/rocketmq/pull/11341

   <!-- Please make sure the target branch is right. In most case, the target 
branch should be `develop`. -->
   
   ### Which Issue(s) This PR Fixes
   
   Fixes #11328
   
   ### Brief Description
   
   Both help paths in the operations-demo consumer printed the usage with the 
label `producer` (`hf.printHelp("producer", options, true)` at 
`Consumer.java:101` and `:105`), so running the consumer with `-h` or bad 
arguments shows `usage: producer ...` followed by the consumer's own options 
(`consumerGroup`, `subscription`, ...). The sibling `Producer.java` correctly 
prints `usage: producer`, leaving two demos that both claim to be "producer". 
Both labels now say `consumer`.
   
   ### How Did You Test This Change?
   
   `mvn -pl example -am -DskipTests compile` (JDK 11, PR base commit) → BUILD 
SUCCESS with the change. The print label is a display string only; behavior 
verified by inspection against the sibling `Producer.java` help path.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to