title: How Do I Make KDiff3 Not Show A GUI If All Conflicts Are Resolved?
body: <p>KDiff3 ships with a diff3_cmd.bat for use with the svn diff3-cmd. See below (comments stripped)</p>
  
  <pre><code>SET DIFF3="C:\Program Files\KDiff3\kdiff3.exe"
  SHIFT
  SHIFT
  SET MINE=%7
  SET OLDER=%8
  SET YOURS=%9
  %DIFF3% %OLDER% %MINE% %YOURS% -o merged.txt
  type merged.txt
  del merged.txt
  </code></pre>
  
  <p>According to <a href="https://docs.kde.org/trunk4/en/extragear-utils/kdiff3/documentation.html#idp50896672" rel="noreferrer">the docs</a> I should be able to pass <code>--auto</code> to hide the GUI.</p>
  
  <pre><code>--auto    No GUI if all conflicts are auto-solvable. (Needs -o file)
  </code></pre>
  
  <p>However, it still pops up a dialog saying</p>
  
  <pre><code>Total number of conflicts: 6
  Nr of automatically solved conflicts: 6
  Nr of unsolved conflicts: 0
  </code></pre>
  
  <p>I tried adding <code>--cs "ShowInfoDialogs=0"</code>, however that hides the dialog when there are unresolved conflicts too.</p>
  
  <p>Is there an option to hide the GUI completely on resolved conflicts but show the GUI and normal dialogs when there are conflicts?</p>
  
  <p>Alternatively, is it possible to do a dry run to determine whether there are any unresolved conflicts then use <code>--cs "ShowInfoDialogs=0"</code> if it can be fully resolved and <code>--cs "ShowInfoDialogs=1"</code> if it will need manual intervention?</p>