Daniel,
Thank you very much. I never thought to put those two together the way you have showed.
I think it would have helped from the usability perspective, if the comment said that there are extensions to the command like "data-source [add|remove|modify]" to help. Or even when I issued "data-source" command print out some helpful message to show the usage rather than saying "--jndi-name" is missing, which is confusing, not helpful.
Also another observation is, for creating a queue, CLI has "add-jms-queue", "remove-jms-queue" etc, where are "data-source" takes another approach for extensions to same command, which is not consistent across the commands in the CLI.
I would be happy write up a enhancement request if anybody agrees.
Thanks.
Ramesh..