earthlike: fix segfault when unknown option is passed on command line
earthlike: make usage function exit
earthlike: fix -h option to take filename argument like it's supposed to