Sanity check arguments in their specified order

This yields the correct error message when a user lacks a parameter to
a command with more than one argument.  Fixed KARAF-2368.