add option content-type to view command