client: check and error out on exceeding number of command line args to pass

Also cleanup up the handling of them, using a flag to know which
options to handle locally vs remotely.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
3 files changed