Otherwise people will run the script a few times and be totally confused
as to why their statistics aren't being saved. The wording is taken from
updateArticleCount.php, which has a similar parameter.
Change-Id: I802553120c1bf4d8f6234ccced5f19ecd5cd9b66
$this->output( "\nUpdating site statistics..." );
$counter->refresh();
$this->output( "done.\n" );
+ } else {
+ $this->output( "\nTo update the site statistics table, run the script "
+ . "with the --update option.\n" );
}
if ( $this->hasOption( 'active' ) ) {