gake: handling flags