dirname(1) - strip last component from file name
--help display this help and exit
--version
       output version information and exit