mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 19:38:53 +00:00
[ticket/10044] Added -h to setup_github_network.php.
PHPBB3-10044
This commit is contained in:
parent
30c46a6e0c
commit
bf137b7005
1 changed files with 3 additions and 2 deletions
|
@ -31,14 +31,15 @@ function show_usage()
|
|||
echo " -r repository_name Overwrites the repository name (optional)\n";
|
||||
echo " -m your_github_username Sets up ssh:// instead of git:// for pushable repositories (optional)\n";
|
||||
echo " -d Outputs the commands instead of running them (optional)\n";
|
||||
echo " -h This help text\n";
|
||||
|
||||
exit(1);
|
||||
}
|
||||
|
||||
// Handle arguments
|
||||
$opts = getopt('s:u:r:m:d');
|
||||
$opts = getopt('s:u:r:m:dh');
|
||||
|
||||
if (empty($opts))
|
||||
if (empty($opts) || isset($opts['h']))
|
||||
{
|
||||
show_usage();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue