#!/usr/bin/php add('no-fetch', "Don't fetch events from GitHub") ->defaultValue(false); $options = CommandLineOptions::process($args, 'Update the submodules in the super project', $specs); if (!$options['no-fetch']) { GitHubEventQueue::downloadEvents(); } SuperProject::updateBranches(); } main($_SERVER['argv']);