genhash: print usage when incorrect parameters are used