mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 14:33:49 +01:00
generate_lang_file.php : fix warning about missing arg in usage()
This commit is contained in:
parent
36adcf0f5f
commit
05d4414a41
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ $format=$available_formats[0];
|
||||||
$translations=array();
|
$translations=array();
|
||||||
$debug = false;
|
$debug = false;
|
||||||
$load_files = array();
|
$load_files = array();
|
||||||
function usage($error, $exit_code=0) {
|
function usage($error=false, $exit_code=0) {
|
||||||
global $argv, $available_withouts, $available_onlys;
|
global $argv, $available_withouts, $available_onlys;
|
||||||
if ($error)
|
if ($error)
|
||||||
echo "$error\n\n";
|
echo "$error\n\n";
|
||||||
|
|
Loading…
Reference in a new issue