#!/usr/bin/env php . require_once("../inc/util_ops.inc"); require_once("../inc/uotd.inc"); $force_new = false; if ($argc > 1) { if ($argv[1] == "-f" || $argv[1] == "--force") { $force_new = true; } else { echo "Usage: ".$argv[0]." [-f|--force]\n"; echo " -f | --force Will select a new User of the day regardless if there already is one for the current day\n"; exit(1); } } select_uotd($force_new); ?>