mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-21 16:22:22 +02:00
[ticket/9805] Move check lower down.
PHPBB3-9805
This commit is contained in:
parent
e1ae8c6a71
commit
67fe441f7e
@ -7,11 +7,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
if ($argc < 2)
|
||||
{
|
||||
show_usage();
|
||||
}
|
||||
|
||||
function show_usage()
|
||||
{
|
||||
$filename = basename(__FILE__);
|
||||
@ -40,7 +35,13 @@ function show_usage()
|
||||
}
|
||||
|
||||
// Handle arguments
|
||||
$opts = getopt('s:u:r:m:d');
|
||||
$opts = getopt('s:u:r:m:d');
|
||||
|
||||
if (empty($opts))
|
||||
{
|
||||
show_usage();
|
||||
}
|
||||
|
||||
$scope = get_arg($opts, 's', '');
|
||||
$username = get_arg($opts, 'u', 'phpbb');
|
||||
$repository = get_arg($opts, 'r', 'phpbb3');
|
||||
|
Loading…
x
Reference in New Issue
Block a user