title: Set command line option to false
body: <p>I'm using the <a href="http://commandline.codeplex.com/" rel="noreferrer">Command Line Parser Library</a> I obtained via NuGet in my C# Console Application, .NET Framework 4.0.</p>
  
  <p>Here's my options class...</p>
  
  <pre><code>class Options
  {
      [Option('p', "prompt", DefaultValue = true, HelpText = "Prompt the user before exiting the program.")]
      public bool PromptForExit { get; set; }
  
      [HelpOption]
      public string GetUsage()
      {
          return HelpText.AutoBuild(this, (HelpText current) =&gt; HelpText.DefaultParsingErrorsHandler(this, current));
      }
  }
  </code></pre>
  
  <p>Here's where I parse and use the options...</p>
  
  <pre><code>static void Main(string[] args)
  {
      Options options = new Options();
      if (CommandLine.Parser.Default.ParseArguments(args, options))
      {
          if (options.PromptForExit)
          {
              Console.WriteLine("Press any key to exit.");
              Console.ReadKey();
          }
      }
  }
  </code></pre>
  
  <p>I've tried all sorts of commands in an effort to get it to not prompt me before exiting, but none of them work. Is anyone familiar with this library or have an idea as to how I can get the PromptForExit option to be false from the command line?</p>
  
  <p>Here's what I've tried.</p>
  
  <pre><code>myprogram.exe
  myprogram.exe -p false
  myprogram.exe -p False
  myprogram.exe -p FALSE
  myprogram.exe -p 0
  myprogram.exe --prompt false
  myprogram.exe --prompt False
  myprogram.exe --prompt FALSE
  myprogram.exe --prompt 0
  </code></pre>