diff options
author | Brion Vibber <brion@pobox.com> | 2010-02-04 12:23:56 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-02-04 12:23:56 -0800 |
commit | c59eee72a8453cc43f169c62d1afb214c0c539bc (patch) | |
tree | d7fa62b31c708e9cda1dd52b032971e5f19ebdd4 /scripts/showcache.php | |
parent | e89107549475ee1e824bcf6f0bd66830fb724b2f (diff) | |
parent | a020e230860358fc8b63cd56872bbad0446016e0 (diff) |
Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'scripts/showcache.php')
-rw-r--r-- | scripts/showcache.php | 6 |
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'; } |