A platform script should silently ignore unknown flags (parameters).
For example, --custom-flag
The reason is that Cordova CLI hooks can be used to enable custom flags.
On WP, unknown flags cause the script to exit with an error code.
On Android and iOS,the expected behaviour is matched.