summaryrefslogtreecommitdiff
path: root/scripts/showcache.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-02-03 12:32:31 -0500
committerEvan Prodromou <evan@status.net>2010-02-03 12:32:31 -0500
commitaa4848d62d9bcc8166f18f4a18e5a3d2a6a51537 (patch)
tree0178367d345d875e7d5f17cd64983530403929d6 /scripts/showcache.php
parentf964357de944e79ffbca062c60240f7784d98f08 (diff)
parentdbeb388adefec94c3bb34e99305a004d845b719c (diff)
Merge branch 'master' into testing
Diffstat (limited to 'scripts/showcache.php')
-rw-r--r--scripts/showcache.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/showcache.php b/scripts/showcache.php
index f17979572..93b57a484 100644
--- a/scripts/showcache.php
+++ b/scripts/showcache.php
@@ -20,14 +20,14 @@
define('INSTALLDIR', realpath(dirname(__FILE__) . '/..'));
-$shortoptions = "t:c:v:k:";
+$shortoptions = "t:l:v:k:";
$helptext = <<<ENDOFHELP
USAGE: showcache.php <args>
shows the cached object based on the args
-t table Table to look up
- -c column Column to look up, default "id"
+ -l column Column to look up, default "id"
-v value Value to look up
-k key Key to look up; other args are ignored
@@ -44,7 +44,7 @@ if (!empty($karg)) {
if (empty($table)) {
die("No table or key specified\n");
}
- $column = get_option_value('c');
+ $column = get_option_value('l');
if (empty($column)) {
$column = 'id';
}