This adds the necessary “glue” to the library to support the eror command and extends all switches accordingly.