kmimetypefinder5 --version (return code: 0)
kmimetypefinder 5.10.5
kmimetypefinder5 --help (return code: 0)
Usage: kmimetypefinder5 [options] filename
Gives the MIME type for a given file
Options:
-v, --version Displays version information.
-h, --help Displays this help.
--author Show author information.
--license Show license information.
--desktopfile <file name> The base file name of the desktop entry for this
application.
-c, --content Use only the file content for determining the MIME
type.
-f, --filename-only Whether use the file name only for determining the
MIME type. Not used if -c is specified.
Arguments:
filename The filename to test. '-' to read from stdin.