Rename `set` to `parse` for flags.

@EasonLiao pls take a quick look and merge.