Stop wp-cli execution when there are too many positional arguments

Fixes #911