]> granicus.if.org Git - php/commitdiff
Merge branch 'master' of https://github.com/oerdnj/phpdbg into master
authorBob Weinand <bobwei9@hotmail.com>
Wed, 25 Jun 2014 11:26:58 +0000 (13:26 +0200)
committerBob Weinand <bobwei9@hotmail.com>
Wed, 25 Jun 2014 11:31:24 +0000 (13:31 +0200)
Rewritten author line and included instructions to make install the man page

1  2 
Makefile.frag
phpdbg.1

diff --cc Makefile.frag
index d787b0fb1806975525c8d5edd84fcc73ed72a679,d787b0fb1806975525c8d5edd84fcc73ed72a679..b276aaaa53486faaeb9c0c0812605cb65362d871
@@@ -26,6 -26,6 +26,9 @@@ install-phpdbg: $(BUILD_BINARY
        @$(mkinstalldirs) $(INSTALL_ROOT)$(localstatedir)/log
        @$(mkinstalldirs) $(INSTALL_ROOT)$(localstatedir)/run
        @$(INSTALL) -m 0755 $(BUILD_BINARY) $(INSTALL_ROOT)$(bindir)/$(program_prefix)phpdbg$(program_suffix)$(EXEEXT)
++      @echo "Installing phpdbg man page:       $(INSTALL_ROOT)$(mandir)/man1/"
++      @$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man1
++      @$(INSTALL_DATA) sapi/phpdbg/phpdbg.1 $(INSTALL_ROOT)$(mandir)/man1/$(program_prefix)phpdbg$(program_suffix).1
  
  clean-phpdbg:
        @echo "Cleaning phpdbg object files ..."
diff --cc phpdbg.1
index 0000000000000000000000000000000000000000,68568d03e13ac3509ee902fa84c3d5812c8adecb..5e4d144c8386eaf621623cd58673b0c6a0e54d3b
mode 000000,100644..100644
--- /dev/null
+++ b/phpdbg.1
@@@ -1,0 -1,59 +1,59 @@@
 -Written by Ondřej Surý for Debian project.
+ .TH PHPDBG 1
+ .SH NAME
+ phpdbg \- The interactive PHP debugger
+ .SH SYNOPSIS
+ .B phpdbg
+ [OPTION]
+ [\fB\-e\fIFILE\fR]
+ .SH DESCRIPTION
+ .B phpdbg
+ a lightweight, powerful, easy to use debugging platform for PHP5.
+ .SH OPTIONS
+ The following switches are implemented (just like cli SAPI):
+ .TP
+ .BR \-n
+ No \fBphp.ini\fR file will be used
+ .TP
+ .BR \-c \fIpath\fB|\fIfile\fR
+ Look for \fBphp.ini\fR file in the directory \fIpath\fR or use the specified \fIfile\fR
+ .TP
+ .BR \-z \fIfile\fR
+ Load Zend extension \fIfile\fR
+ .TP
+ .BR \-d \fIfoo\fB[=\fIbar\fB]\fR
+ Define INI entry \fIfoo\fR with value \fIbar\fR
+ .PP The following switches change the default behaviour of phpdbg:
+ .TP
+ .BR \-v
+ Disables quietness
+ .TP
+ .BR \-s
+ Enabled stepping
+ .TP
+ .BR -e \fIfile\fR
+ Sets execution context
+ .TP
+ .BR \-b
+ Disables use of colour on the console
+ .TP
+ .BR \-I
+ Ignore .phpdbginit (default init file)
+ .TP
+ .BR \-i \fIpath\fB|\ffile\fR
+ Override .phpgdbinit location (implies -I)
+ .TP
+ .BR \-O \fIfile\fR
+ Set oplog output to \fIfile\fR
+ .TP
+ .BR \-q
+ Do not print banner on startup
+ .TP
+ .BR \-r
+ Jump straight to run
+ .TP
+ .BR \-E
+ Enable step through eval()
+ .SH NOTES
+ Passing -rr will cause phpdbg to quit after execution, rather than returning to the console
+ .SH AUTHOR
++Written by Felipe Pena, Joe Watkins and Bob Weinand, formatted by Ondřej Surý for Debian project.