build/generate-registry-annotations.php: write to stderr on error

This commit is contained in:
Dylan K. Taylor 2022-07-19 20:15:44 +01:00
parent 2b61c025c2
commit c553f7cf06
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -39,7 +39,8 @@ use function substr;
use const SORT_STRING; use const SORT_STRING;
if(count($argv) !== 2){ if(count($argv) !== 2){
die("Provide a path to process"); fwrite(STDERR, "Provide a path to process\n");
exit(1);
} }
/** /**