added possibility to list types using a "|" separated string

Signed-off-by: Yoannis Jamar <yoannis@moresleep.net>