php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #54217 Warn about nonexisting parameters
Submitted: 2011-03-10 21:48 UTC Modified: 2012-04-06 17:04 UTC
From: cweiske@php.net Assigned: moacir (profile)
Status: Closed Package: Doc Build problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
34 + 23 = ?
Subscribe to this entry?

 
 [2011-03-10 21:48 UTC] cweiske@php.net
Description:
------------
When using PhD with nonexisting parameters, i.e.
$ phd --no-index
PhD silently ignores them.

The real parameter in this case is "--noindex". PhD should exit with an error message if an unknown parameter is used.


Patches

check-valid-options (last revision 2011-03-17 03:39 UTC by moacir@php.net)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-03-17 04:39 UTC] moacir@php.net
The following patch has been added/updated:

Patch Name: check-valid-options
Revision:   1300333171
URL:        http://bugs.php.net/patch-display.php?bug=54217&patch=check-valid-options&revision=1300333171
 [2011-03-17 04:42 UTC] moacir@php.net
I just wrote a quick fix for this problem.
 [2012-04-06 14:52 UTC] bjori@php.net
Does that patch not work moacir?
Any reason why it isn't committed yet?
 [2012-04-06 14:52 UTC] bjori@php.net
-Assigned To: +Assigned To: moacir
 [2012-04-06 16:45 UTC] moacir@php.net
Automatic comment on behalf of moacir
Revision: http://git.php.net/?p=phd.git;a=commit;h=dc61fff7daab9c3498f5c4bd8ddee9fbea139989
Log: Fix Bug #54217  Warn about nonexisting parameters
 [2012-04-06 17:04 UTC] moacir@php.net
Patch commited
 [2012-04-06 17:04 UTC] moacir@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 04:01:38 2024 UTC