Code:
csend 1,000,000 meat to buffy
You would expect this to send 1 million meat to buffy, however the commas has this act in an unexpected manner.
Instead CLI will spam a few unexpected item found errors, and send all your meat to buffy. Only a few million meat in my case, but still a nasty surprise.
Imagine you wanted to send someone 1,000 meat?
I would expect that either the command fails when a string doesn't match exactly one item, or that commas are handled correctly.
Given the usage of commas in the command however, and the fact that this is almost not a problem aside for the "meat". It could be better to instead print an error if the formatting could be feasible as wanting to send meat instead of items; "Meat must be the first argument of the command, and not include any commas in the amount"
A lot of places do support commas, and it's not unexpected behavior for someone to use commas when inputting amounts into CLI.
Checking if someone may have typed something incorrectly should be simple as detecting digits on both sides of a comma.