Fixing Boolean CLI parameters

closes #3464

- Explicitly set Boolean CLI types to true if they are presenet
- Simplify logic where these parameters are used
I asked him to, figured it would make a good test case to verify the new
recipes and operation of hpcbuild3.

Sent from my iPhone

On Aug 6, 2014, at 5:24 PM, Derek Gaston <notifications@github.com> wrote:

In framework/src/base/MooseApp.C:

>
>    params.addCommandLineParam<std::string>("dump", "--dump [search_string]", "Shows a dump of available input file syntax.");
>    params.addCommandLineParam<std::string>("yaml", "--yaml", "Dumps input file syntax in YAML format.");
> -  params.addCommandLineParam<bool>("syntax", "--syntax", "Dumps the associated Action syntax paths ONLY");
> +  params.addCommandLineParam<bool>("syntax", "--syntax", false, "Dumps the associated Action syntax paths ONLY");

@aeslaughter <https://github.com/aeslaughter> Why did you merge this? We
were still having a conversation about it...

I still don't understand. If I set a default value of true... how do I ever
set the value to false?

—
Reply to this email directly or view it on GitHub
<https://github.com/idaholab/moose/pull/3655/files#r15910341>.