| @@ -74,7 +74,12 @@ JSON_OPTIONS is a bitmask consisting of: | |||||
| The behaviour of these constants is described on the JSON constants page: | The behaviour of these constants is described on the JSON constants page: | ||||
| http://php.net/manual/en/json.constants.php | 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 | $ ./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 | ## 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 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/) | * [dir2json article, explaining how it works](http://www.ryadel.com/en/portfolio/dir2json-en/) | ||||