[TOOLS] make -h option work by adding h to getopt() options string.