RFR: 1275: An unknown sub-command gives a confusing error message [v3]

Guoxiong Li gli at openjdk.java.net
Thu Dec 16 09:11:47 UTC 2021

On Wed, 15 Dec 2021 22:40:24 GMT, Erik Joelsson <erikj at openjdk.org> wrote:

> I was expecting a more elegant solution to this. I would add a property/method on the Command interface that MutliCommandParser can use to check this. Something like Command::defaultCommandExpected.

Good idea. Should we add it in this patch? Or we should file another issue to implement it?


PR: https://git.openjdk.java.net/skara/pull/1257

More information about the skara-dev mailing list