summaryrefslogtreecommitdiff
path: root/scripts/triminboxes.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-22 16:48:04 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-06-22 16:48:04 -0700
commit3fc2cfb7f81cca483be7255e20245c8fea2fe0d8 (patch)
treea6cc0881b4b6af69523fb88822f145c1ce7e02d9 /scripts/triminboxes.php
parent010d168aaa908073d03be66259042f921dfb861e (diff)
fix have_options arguments
Diffstat (limited to 'scripts/triminboxes.php')
-rw-r--r--scripts/triminboxes.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/triminboxes.php b/scripts/triminboxes.php
index 5575dd4fc..b2135d682 100644
--- a/scripts/triminboxes.php
+++ b/scripts/triminboxes.php
@@ -35,8 +35,8 @@ require_once INSTALLDIR.'/scripts/commandline.inc';
$id = null;
-if (have_option('-u')) {
- $id = get_option_value('-u');
+if (have_option('u')) {
+ $id = get_option_value('u');
} else if (have_option('--start-user-id')) {
$id = get_option_value('--start-user-id');
} else {