Condition pour l'aide

This commit is contained in:
Michael RICOIS 2012-01-30 16:34:44 +00:00
parent 5ddbce7e70
commit 72454a1f2c

View File

@ -39,7 +39,7 @@ try {
}
//Usage
if(isset($opts->help) || !isset($opts->id) || !isset($opts->file) )
if(isset($opts->help) || !isset($opts->id) && !isset($opts->file) )
{
echo $opts->getUsageMessage();
exit;