From 3bb1d26b1be90b1d9f50fdfdfbb198ca146f8812 Mon Sep 17 00:00:00 2001 From: Gustavo Arnosti Neves Date: Thu, 26 Jul 2018 05:27:55 -0300 Subject: [PATCH] v0.2.0 - a bit more option parsing; fix run with empty JSON options; added more excluded files; changed excluded parsing; a bit more error messages; added PHP hashbang and made file executable --- dir2json.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dir2json.php b/dir2json.php index 38a6f06..6950903 100755 --- a/dir2json.php +++ b/dir2json.php @@ -96,7 +96,7 @@ if (!is_dir($targetFolder)) { exit(2); } -// If we have and output file name +// If we have an output file name if (empty($outputFile)) { echo "Need a valid output file name (empty)\n"; exit(3);