fixed gitignore extra options and help messages
fixed a return value