implemneted options as table

flags are boolean fields
todo: pathspec as list