Note that <spanxmlns:doc="http://nwalsh.com/xsl/documentation/1.0"class="replaceable"><emclass="replaceable"><code>file1</code></em></span> will be treated as
base of <spanxmlns:doc="http://nwalsh.com/xsl/documentation/1.0"class="replaceable"><emclass="replaceable"><code>file2</code></em></span> and
</p></div><divclass="sect2"lang="en"><divclass="titlepage"><div><div><h3class="title"><aname="id2488418"></a>Special case: Files with the same name </h3></div></div></div><p>
If all files have the same name but are in different directories, you can
reduce typework by specifying the filename only for the first file. E.g.:
</pre></div><divclass="sect2"lang="en"><divclass="titlepage"><div><div><h3class="title"><aname="id2488444"></a>Commandline for starting a directory comparison or merge: </h3></div></div></div><p>This is very similar, but now it's about directories.</p><preclass="screen">
</pre><p>For directory comparison and merge you can continue to read <ahref="dirmerge.html"title="Chapter3.Directory Comparison and Merge with KDiff3">here</a>.</p></div><divclass="sect2"lang="en"><divclass="titlepage"><div><div><h3class="title"><aname="id2488514"></a>Other command line options</h3></div></div></div><p>To see all available command line options type</p><preclass="screen">
--L1 alias1 Visible name replacement for input file 1 (base).
--L2 alias2 Visible name replacement for input file 2.
--L3 alias3 Visible name replacement for input file 3.
-L, --fname alias Alternative visible name replacement. Supply this once for every input.
--cs string Override a config setting. Use once for every setting. E.g.: --cs "AutoAdvance=1"
--confighelp Show list of config settings and current values.
--config file Use a different config file.
</pre><p>The option <spanxmlns:doc="http://nwalsh.com/xsl/documentation/1.0"class="option"><codeclass="option">--cs</code></span> allows you to adjust a configuration value that is otherwise only adjustable via the configure dialogs.
But be aware that when <spanclass="application">KDiff3</span> then terminates the changed value will be stored along with the other settings.
With <spanxmlns:doc="http://nwalsh.com/xsl/documentation/1.0"class="option"><codeclass="option">--confighelp</code></span> you can find out the names of the available items and current values.</p><p>Via <spanxmlns:doc="http://nwalsh.com/xsl/documentation/1.0"class="option"><codeclass="option">--config</code></span> you can specify a different config file. When you often use <spanclass="application">KDiff3</span>
with completely different setups this allows you to easily switch between them.</p></div><divclass="sect2"lang="en"><divclass="titlepage"><div><div><h3class="title"><aname="id2488593"></a>Ignorable command line options</h3></div></div></div><p>Many people want to use <spanclass="application">KDiff3</span> with some version control system.
But when that version control system calls <spanclass="application">KDiff3</span> using command line parameters that <spanclass="application">KDiff3</span> doesn't recognise, then <spanclass="application">KDiff3</span> terminates with an error.
The integration settings allow to specify command line parameters that should be ignored by <spanclass="application">KDiff3</span>.
They will appear in the usage help like in this example:</p><preclass="screen">
</pre><divclass="variablelist"><dl><dt><spanclass="term"><spanclass="emphasis"><em>Command line options to ignore:</em></span></span></dt><dd><p>
A list of options, separated via semicolon ';'. When one of these options appears on the commandline,
then <spanclass="application">KDiff3</span> will ignore it and run without reporting an error.
(Default is "u;query;html;abort").</p></dd></dl></div><p>When this isn't enough, then it is recommended to write a shell script that does the option translation.</p></div></div></div><divstyle="background-color: #white; color: black; margin-top: 20px; margin-left: 20px; margin-right: 20px;"><divstyle="position: absolute; left: 20px;"><aaccesskey="p"href="features.html">Prev</a></div><divstyle="position: absolute; right: 20px;"><aaccesskey="n"href="opendialog.html">Next</a></div><divalign="center"><aaccesskey="h"href="index.html">Home</a></div></div><divstyle="background-color: #white; color: black; margin-left: 20px; margin-right: 20px;"><divclass="navLeft">More Features</div><divclass="navRight">Open-Dialog</div><divclass="navCenter"><aaccesskey="u"href="index.html">Up</a></div></div><br><br><divclass="bannerBottom"style="background-image: url(help:/common/bottom-middle.png); background-repeat: x-repeat; width: 100%; height: 100px; bottom:0px;"><divclass="BannerBottomRight"><imgsrc="help:/common/bottom-right.png"style="margin: 0px"alt=""></div><divclass="bannerBottomLeft"><imgsrc="help:/common/bottom-left.png"style="margin: 0px;"alt=""></div><divid="comments"style="position:relative; top: 5px; left: 1em; height:85px; width: 50%; color: #cfe1f6"><p>Would you like to make a comment or contribute an update to this page?<br>
Send feedback to the <ahref="mailto:kde-docs@kdemail.net"style="background:transparent; color:#cfe1f6; text-decoration: underline;">KDE Docs Team</a></p></div></div></body></html>