From 642adc3b00ce5ae6907abf99b8443a5c1ed81f1e Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sun, 28 Mar 2010 14:38:07 -0400 Subject: [PATCH] add an option to run a command as the site owner --- scripts/command.php | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/scripts/command.php b/scripts/command.php index 6041b02eb1..7b1d651e48 100755 --- a/scripts/command.php +++ b/scripts/command.php @@ -20,8 +20,8 @@ define('INSTALLDIR', realpath(dirname(__FILE__) . '/..')); -$shortoptions = 'i:n:'; -$longoptions = array('id=', 'nickname='); +$shortoptions = 'i:n:o'; +$longoptions = array('id=', 'nickname=', 'owner'); $helptext = <<