summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-02-03 12:13:07 -0500
committerEvan Prodromou <evan@status.net>2010-02-03 12:13:07 -0500
commitaee73d87ee33d1743a74fbe87f964bfc46ba1873 (patch)
tree56f070c6f443ef7d071aedca90196d89f9d696e6
parent644a9163831938518ed3473c7a6d74251d254e8b (diff)
showcache.php column flag was conflicting with default flag
-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';
}