Fixed getopt parsing for short help and version options (-h and -v)
Fixed typo on man page, added - in front of h and v options