From 06d948c4c17ed6ac3cfe96b9d8006379e4b3e71c Mon Sep 17 00:00:00 2001 From: Evaldo Bento Date: Sat, 2 Jan 2021 10:13:39 +0100 Subject: [PATCH] Updated documentation on README. --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b56ba0e..1307fab 100644 --- a/README.md +++ b/README.md @@ -32,13 +32,20 @@ sudo mv phpctags /usr/local/bin/ Single file: ``` -phpctags phpfile.php > php.tags +phpctags phpfile.php +``` + +Tags will be written to a `tags` file. In order to specify a different tags file +use the `-f` option: + +``` +phpctags -f myphp.tags phpfile.php ``` Directory with recursive option: ``` -phpctags -R target_directory > php.tags +phpctags -f myphp.tags -R target_directory ``` ## Build