[wildfly-dev] Default boolean parameters to true

Tomaž Cerar tomaz.cerar at gmail.com
Thu Aug 21 07:00:09 EDT 2014


What do you have in mind, CLI enhancement to handle this.
or global handling of operation handlers on the server?


On Thu, Aug 21, 2014 at 12:14 PM, Darran Lofthouse <
darran.lofthouse at jboss.com> wrote:

> Not talking about changing any other defaults but I have been thinking
> would it make sense where boolean parameters are being passed in an
> operation that we assume they are true if no value is specified.
>
> As an example I regularly execute the following two commands: -
>
>    :read-resource(recursive=true)
>    :whoami(verbose=true)
>
> In both cases the value feels redundant and it would be more natural to
> just use: -
>
>    :read-resource(recursive)
>    :whoami(verbose)
>
> Regards,
> Darran Lofthouse.
>
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/wildfly-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/wildfly-dev/attachments/20140821/b33328dd/attachment.html 


More information about the wildfly-dev mailing list