From: Michael M Slusarz Date: Wed, 24 Nov 2010 07:14:17 +0000 (-0700) Subject: Cleanups in memcache_stats script X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=8a203c338707a9c3b232c74a14f79281969cffa3;p=horde.git Cleanups in memcache_stats script --- diff --git a/horde/bin/memcache_stats b/horde/bin/memcache_stats index bb8266bbc..96d16c247 100755 --- a/horde/bin/memcache_stats +++ b/horde/bin/memcache_stats @@ -3,7 +3,8 @@ /** * This script outputs statistics on the current memcache pool. * - * Usage: stats.php [--all] [--flush] [--lookup=key] [--raw] [--summary] + * Usage: memcache_stats.php [--all] [--flush] [--lookup=key] [--raw] + * [--summary] * * By default, shows statistics for all servers. * @@ -12,14 +13,16 @@ * See the enclosed file COPYING for license information (LGPL). If you * did not receive this file, see http://www.fsf.org/copyleft/lgpl.html. * - * @author Michael Slusarz + * @author Michael Slusarz + * @category Horde + * @license http://www.fsf.org/copyleft/lgpl.html LGPL */ require_once dirname(__FILE__) . '/../lib/Application.php'; -Horde_Registry::appInit('horde', array('authentication' => 'none', 'cli' => true)); - -/* Make sure there's no compression. */ -@ob_end_clean(); +Horde_Registry::appInit('horde', array( + 'authentication' => 'none', + 'cli' => true +)); $c = new Console_Getopt(); $argv = $c->readPHPArgv();