Reads options from stdin and shows the valid ones (valid because the text matches them)