php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #73902 CLI usage instructions do not mention server router
Submitted: 2017-01-10 02:56 UTC Modified: 2017-01-10 06:21 UTC
From: wallfur+php at gmail dot com Assigned: krakjoe (profile)
Status: Closed Package: Built-in web server
PHP Version: master-Git-2017-01-10 (Git) OS: n.a.
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: wallfur+php at gmail dot com
New email:
PHP Version: OS:

 

 [2017-01-10 02:56 UTC] wallfur+php at gmail dot com
Description:
------------
Look at the help from the PHP CLI from a shell and you can see the built-in server line does not mention the optional <router> argument, and does not enclose the <docroot> in <> as other arguments are.

Test script:
---------------
php -h

Expected result:
----------------
See this in the usage:

   php [options] -S <addr>:<port> [<router>] [-t <docroot>]

Actual result:
--------------
See this:

   php [options] -S <addr>:<port> [-t docroot]

Patches

cli-server-usage (last revision 2017-01-10 02:57 UTC by wallfur+php at gmail dot com)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-10 06:21 UTC] krakjoe@php.net
Automatic comment on behalf of krakjoe
Revision: http://git.php.net/?p=php-src.git;a=commit;h=125ee6a68e40d539cac5eb97def04d1586ce0e5d
Log: Fixed #73902 mention router support in usage output for php-cli
 [2017-01-10 06:21 UTC] krakjoe@php.net
-Status: Open +Status: Closed
 [2017-01-10 06:21 UTC] krakjoe@php.net
-Assigned To: +Assigned To: krakjoe
 [2017-01-10 06:22 UTC] krakjoe@php.net
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 20:01:29 2024 UTC