|  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: 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:
Solve the problem:
43 + 4 = ?
Subscribe to this entry?

 [2011-03-10 21:48 UTC]
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.


check-valid-options (last revision 2011-03-17 03:39 UTC by

Add a Patch

Pull Requests

Add a Pull Request


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

Patch Name: check-valid-options
Revision:   1300333171
 [2011-03-17 04:42 UTC]
I just wrote a quick fix for this problem.
 [2012-04-06 14:52 UTC]
Does that patch not work moacir?
Any reason why it isn't committed yet?
 [2012-04-06 14:52 UTC]
-Assigned To: +Assigned To: moacir
 [2012-04-06 16:45 UTC]
Automatic comment on behalf of moacir
Log: Fix Bug #54217  Warn about nonexisting parameters
 [2012-04-06 17:04 UTC]
Patch commited
 [2012-04-06 17:04 UTC]
-Status: Assigned +Status: Closed
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 14 15:01:29 2024 UTC