Moved help to function and added --help.