From 8a203c338707a9c3b232c74a14f79281969cffa3 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 24 Nov 2010 00:14:17 -0700 Subject: [PATCH] Cleanups in memcache_stats script --- horde/bin/memcache_stats | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) 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(); -- 2.11.0