ports/devel/phpsh/files/patch-src_doc_phpsh.1
Ashish SHUKLA 84b2c8f637 phpsh is an interactive shell for php that features readline
history, tab completion, quick access to documentation. It
was developed at Facebook and ironically, is written mostly
in python. It is open source and released under a modified
BSD license.

WWW:	http://phpsh.org/
2011-08-23 17:44:59 +00:00

23 lines
1.6 KiB
Groff

$FreeBSD$
--- src/doc/phpsh.1.orig
+++ src/doc/phpsh.1
@@ -56,7 +56,7 @@
.TP
\-c, \-\-codebase\-mode
-Use "\-c none" to load no codebase\&. See /etc/phpsh/phpshrc\&.php for other codebase modes\&.
+Use "\-c none" to load no codebase\&. See %%PREFIX%%/etc/phpsh/phpshrc\&.php for other codebase modes\&.
.TP
\-t, \-\-test\-file
Run a saved\-phpsh\-session unit test file\&. See test/ in the phpsh distribution for examples\&.
@@ -141,7 +141,7 @@
.SH "CONFIGURATION"
-Config file support was added in phpsh\-1\&.2\&. When phpsh starts up it tries to read its configuration from /etc/phpsh/config, then from $HOME/\&.phpsh/config\&. If either file is not present or not readable, it is ignored\&. Entries in the per\-user config file $HOME/\&.phpsh/config override the corresponding entries in the host\-wide config file /etc/phpsh/config\&.
+Config file support was added in phpsh\-1\&.2\&. When phpsh starts up it tries to read its configuration from %%PREFIX%%/etc/phpsh/config, then from $HOME/\&.phpsh/config\&. If either file is not present or not readable, it is ignored\&. Entries in the per\-user config file $HOME/\&.phpsh/config override the corresponding entries in the host\-wide config file %%PREFIX%%/etc/phpsh/config\&.
The config file consists of sections containing key:value pairs\&. Lines starting with # are ignored\&. All settings are optional and have reasonable default values\&. Section names are in brackets\&. A section name must be present in the config file if any settings in that section are present\&. The following configuration settings are supported: