add ption parsing

Signed-off-by: Wit <wit@maxwit.com>