From 3bbba8cf7bea80d6e11b762cc55c0a66a7842ed8 Mon Sep 17 00:00:00 2001 From: Gustavo Arnosti Neves Date: Thu, 14 Feb 2019 19:37:21 -0200 Subject: [PATCH] Update Readme.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index a30bcfe..ded207d 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,12 @@ JSON_OPTIONS is a bitmask consisting of: The behaviour of these constants is described on the JSON constants page: http://php.net/manual/en/json.constants.php -#### Help Info +#### Example +``` + > php dir2json ./images out.json JSON_PRETTY_PRINT +``` + +## CLI Help Info ``` $ ./dir2json.php -h ------------------------------------------------------ @@ -126,11 +131,6 @@ SORT_FLAGS defaults to SORT_LOCALE_STRING, always case insensitive: ------------------------------------------------------ ``` -#### Example -``` - > php dir2json ./images out.json JSON_PRETTY_PRINT -``` - ## Useful Links * [dir2json project page on Ryadel.com](http://www.ryadel.com/dir2json-a-php-cli-script-to-output-the-contents-of-a-folder-tree-into-a-json-object/) * [dir2json article, explaining how it works](http://www.ryadel.com/en/portfolio/dir2json-en/)