-./type.tests: type: unknown option: f
-type: usage: type [-apt] name [name ...]
-./type.tests: type: notthere: not found
-./type.tests: command: notthere: not found
+./type.tests: line 9: type: -r: invalid option
+type: usage: type [-afptP] name [name ...]
+./type.tests: line 12: type: notthere: not found