Bad parameters for setup-endpoints is an error.

Previously we would exit 0 if a bad option was supplied or too few/too
many arguments, which can lead to scripts failing to detect errors.

Change-Id: I3729b98ce959e8c310807daa4d51e0348229ea3f