<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
    <dl style="line-height: 1.5; margin-left: 2em">
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
      <dd style="margin-left: 8.5em">Kouhei Sutou &lt;kou****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2012-08-12 00:04:05 +0900 (Sun, 12 Aug 2012)</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
      <dd style="margin-left: 8.5em"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582">ae4a96b4f31ea6f6ea299279526a646350fb4582</a></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Log</dt>
      <dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em">groonga: add --working-directory option

TODO: write document for it</pre></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
      <dd style="margin-left: 8.5em">
        <ul>
          <li><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#diff-0">src/groonga.c</a></li>
        </ul>
      </dd>
    </dl>

    <div class="diff-section" style="clear: both">
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: src/groonga.c (+16 -1)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
            </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L1992">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L1993">1993</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L1994">1994</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L1995">1995</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L1996">1996</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L1997">1997</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L1998">1998</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2028">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2029">2029</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2030">2030</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2031">2031</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2032">2032</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2033">2033</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2034">2034</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2035">2035</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2059">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2060">2060</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2061">2061</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2062">2062</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2063">2063</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2064">2064</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2065">2065</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2079">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2080">2080</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2081">2081</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2082">2082</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2083">2083</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2084">2084</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2085">2085</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2111">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2112">2112</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2113">2113</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2114">2114</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2115">2115</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2116">2116</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0L2117">2117</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R1992">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R1993">1993</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R1994">1994</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R1995">1995</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R1996">1996</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R1997">1997</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R1998">1998</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R1999">1999</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2000">2000</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2001">2001</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2031">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2032">2032</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2033">2033</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2034">2034</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2035">2035</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2036">2036</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2037">2037</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2038">2038</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2039">2039</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2063">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2064">2064</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2065">2065</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2066">2066</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2067">2067</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2068">2068</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2069">2069</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2070">2070</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2084">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2085">2085</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2086">2086</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2087">2087</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2088">2088</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2089">2089</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2090">2090</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2091">2091</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2117">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2118">2118</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2119">2119</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2120">2120</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2121">2121</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2122">2122</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2123">2123</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2124">2124</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2125">2125</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2126">2126</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2127">2127</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2128">2128</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2129">2129</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2130">2130</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2131">2131</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ae4a96b4f31ea6f6ea299279526a646350fb4582#L0R2132">2132</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -1993,6 +1993,9 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">show_usage(FILE *output)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">           &quot;                           (default: %s)\n&quot;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           &quot;\n&quot;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           &quot;Common options:\n&quot;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+          &quot;      --working-directory &lt;path&gt;:\n&quot;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+          &quot;                       specify working directory path\n&quot;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+          &quot;                       (none)\n&quot;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           &quot;      --config-path &lt;path&gt;:\n&quot;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           &quot;                       specify config file path\n&quot;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           &quot;                       (default: %s)\n&quot;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -2029,7 +2032,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">main(int argc, char **argv)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">     *cache_limit_arg = NULL, *document_root_arg = NULL,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     *default_command_version_arg = NULL,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     *default_match_escalation_threshold_arg = NULL,</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    *input_fd_arg = NULL, *output_fd_arg = NULL;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    *input_fd_arg = NULL, *output_fd_arg = NULL,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    *working_directory_arg = NULL;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   const char *config_path = NULL;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   int exit_code = EXIT_SUCCESS;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   int i, mode = mode_alone;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -2060,6 +2064,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">main(int argc, char **argv)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">     {'\0', &quot;bind-address&quot;, NULL, 0, getopt_op_none},</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     {'\0', &quot;input-fd&quot;, NULL, 0, getopt_op_none},</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     {'\0', &quot;output-fd&quot;, NULL, 0, getopt_op_none},</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    {'\0', &quot;working-directory&quot;, NULL, 0, getopt_op_none},</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     {'\0', NULL, NULL, 0, 0}</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   };</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   opts[0].arg = &amp;port_arg;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -2080,6 +2085,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">main(int argc, char **argv)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">   opts[23].arg = &amp;bind_address_arg;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   opts[24].arg = &amp;input_fd_arg;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   opts[25].arg = &amp;output_fd_arg;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  opts[26].arg = &amp;working_directory_arg;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">   init_default_settings();</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -2112,6 +2118,15 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">main(int argc, char **argv)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">       return EXIT_FAILURE;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     }</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   }</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  if (working_directory_arg) {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    if (chdir(working_directory_arg) == -1) {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      fprintf(stderr, &quot;%s: failed to change directory: %s: %s\n&quot;,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+              argv[0], working_directory_arg, strerror(errno));</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      return EXIT_FAILURE;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    }</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  }</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   /* ignore mode option in config file */</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   mode = (mode == mode_error) ? default_mode :</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     ((mode &amp; ~MODE_MASK) | default_mode);</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>