Hi Moacir:

On Sat, Aug 21, 2010 at 02:24:40AM -0400, Moacir de Oliveira wrote:

> Some options in PhD are specific for rendering the PHP Manual (--notoc,
> --lang). These options make no effect if used with the other packages, so
> would be interesting extract them from the core of PhD and implement these
> options within the PHP package.
> 
> Syntax:
> $ phd --<package>-<option> <value>

Having generic options and package options is cool.  Naming the options 
for the package feels a bit clunky.  Some options may not be used in 
another package now, but could in the future, so it will lead to lots of 
duplication (--php-foo --pear-foo --etc-foo) and extra typing.

Perhaps leave the option named --foo, but have it only available inside 
the packages that use it?  When used for a package that doesn't utilize 
that option, a warning could be issued.

These are just thoughts.  Take them or leave them.  No big deal.

Thanks,

--Dan

-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
                http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409

Reply via email to