From f81d03948b4b3bebad0977aa960d5a324cb8115b Mon Sep 17 00:00:00 2001 From: Michal Niewrzal Date: Tue, 11 Oct 2016 21:14:49 +0200 Subject: [PATCH] Update README with --memory-limit param (#70) --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9b6fee8..b14373d 100644 --- a/README.md +++ b/README.md @@ -30,12 +30,17 @@ Run the tests with ## Command line arguments - --tcp host:port - +###### --tcp=host:port (optional) Causes the server to use a tcp connection for communicating with the language client instead of using STDIN/STDOUT. The server will try to connect to the specified address. Example: - php bin/php-language-server.php --tcp 127.0.0.1:12345 + php bin/php-language-server.php --tcp=127.0.0.1:12345 +###### --memory-limit=integer (optional) +Sets memory limit for language server. Equivalent to [memory-limit](http://php.net/manual/en/ini.core.php#ini.memory-limit) *php.ini* directive. By default there is no memory limit. + +Example: + + php bin/php-language-server.php --memory-limit=256M