change --mime-type to --mime for more flexibility