[PATCH] examples: Improved shell output of showDomains