[wildfly-dev] Default boolean parameters to true
Darran Lofthouse
darran.lofthouse at jboss.com
Thu Aug 21 08:26:50 EDT 2014
I would expect it would need to be a CLI change.
On 21/08/14 12:00, Tomaž Cerar wrote:
> 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 <mailto: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 <mailto:wildfly-dev at lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/wildfly-dev
>
>
More information about the wildfly-dev
mailing list