title: How do I pass 2 parameters to Nant script?
body: <p>I have to write an Nant script that will accept 2 parameters on the command line. The first is just an option and has the following format: -myOption. The second one needs to be wrapped in quotes: "some value with space". </p>
  
  <p>e.g. -myOption "this value"</p>
  
  <p>I am new to Nant so I have unsuccessful so far and don't know how to output the command to debug.</p>
  
  <p>This is what I have so far:</p>
  
  <pre><code>&lt;target name="Build" depends="SetupConfig"&gt;
  &lt;exec workingdir="${refactory.basedir}" program="${exe.name.mfg.factory}" basedir="${refactory.basedir}" commandline="-myOption:"&gt;  
   &lt;arg&gt;${refactory.clientconfig}&lt;/arg&gt;   
  &lt;/exec&gt;
  </code></pre>
  
  <p></p>
  
  <p>I am attempting to create the command using the "commandline"' attribute and the args nested element. The args element is supposed to provide qoutes.</p>
  
  <p>Can some tell me how this should look? Thanks.</p>