forked from GNUsocial/gnu-social
reformat commandline.inc
This commit is contained in:
parent
25c721f6ff
commit
7a0d33ab5f
@ -126,7 +126,7 @@ function have_option($opt, $alt=null)
|
|||||||
{
|
{
|
||||||
global $options;
|
global $options;
|
||||||
|
|
||||||
$matches = array($opt);
|
$matches = array();
|
||||||
|
|
||||||
if (strlen($opt) > 1 && 0 != strncmp($opt, '--', 2)) {
|
if (strlen($opt) > 1 && 0 != strncmp($opt, '--', 2)) {
|
||||||
$matches[] = '--'.$opt;
|
$matches[] = '--'.$opt;
|
||||||
|
Loading…
Reference in New Issue
Block a user