FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=16370&edit=1

ID: 16370
Updated by: izi@php.net
Reported By: RQuadling at GMail dot com
Summary: Allow pre-processing of arguments for lists.
-Status: Open
+Status: Closed
Type: Feature/Change Request
Package: Console_CommandLine
Operating System: Windows XP SP3
Package Version: 1.1.0
PHP Version: 5_3 CVS-2009-06-23
-Assigned To:
+Assigned To: izi
Roadmap Versions:
New Comment:

-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: izi
This bug has been fixed in SVN.

If this was a documentation problem, the fix will appear on
pear.php.net by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should
be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.

Patch applied, thanks Richard.


Previous Comments:
------------------------------------------------------------------------

[2009-08-18 14:20:10] rquadling

The following patch has been added/updated:

Patch Name: allow-formatting-of-choice
Revision: 1250601610
URL:
http://pear.php.net/bugs/patch-display.php?bug=16370&patch=allow-formatting-of-choice&revision=1250601610&display=1

------------------------------------------------------------------------

[2009-08-18 14:11:44] rquadling

The following patch has been added/updated:

Patch Name: allow-formatting-of-choice
Revision: 1250601104
URL:
http://pear.php.net/bugs/patch-display.php?bug=16370&patch=allow-formatting-of-choice&revision=1250601104&display=1

------------------------------------------------------------------------

[2009-08-18 13:41:22] rquadling

Yep. Will do. I must admit, the fact that I can register them
when I need them is fine.

I wonder though.

Rather than registering all the actions up front, how about
registering them when used?

That way you could have 2 pools of actions - predefined and
user defined pools.

Then as an action is required, register it from the pools and
error if not known.

Less is loaded upfront. Less memory used and only a small
during the adding of options (maybe - only just thought of
this).

I'll fix this patch first though.

------------------------------------------------------------------------

[2009-08-18 12:32:25] izi

Hi Richard,

I'm +1 on adding the format() method, very good idea, it can be useful
for other actions as well.

But I'm -1 on adding the StoreArrayUnique and StoreArrayUniqueCaseless
actions, they're very specific and can live outside the package without
problem with the registerAction() facility.

What do you think ? Could you update the patch ?

Thanks,

--
David

------------------------------------------------------------------------

[2009-06-23 15:43:03] rquadling

The following patch has been added/updated:

Patch Name: allow-formatting-of-choice
Revision: 1245768183
URL:
http://pear.php.net/bugs/patch-display.php?bug=16370&patch=allow-formatting-of-choice&revision=1245768183&display=1

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://pear.php.net/bugs/bug.php?id=16370

--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=16370&edit=1

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedNov 11, '09 at 4:56p
activeNov 11, '09 at 4:56p
posts1
users1
websitepear.php.net

1 user in discussion

Izi: 1 post

People

Translate

site design / logo © 2022 Grokbase