<html lang='en'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<title>
GitLab
</title>
</meta>
</head>
<style>
  img {
    max-width: 100%;
    height: auto;
  }
  p.details {
    font-style:italic;
    color:#777
  }
  .footer p {
    font-size:small;
    color:#777
  }
  pre.commit-message {
    white-space: pre-wrap;
  }
  .file-stats a {
    text-decoration: none;
  }
  .file-stats .new-file {
    color: #090;
  }
  .file-stats .deleted-file {
    color: #B00;
  }
</style>
<body>
<div class='content'>
<h3>
Tom Lake pushed to branch master
at <a href="https://projects.sucs.org/arthur/mw">Justin Mitchell / mw</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://projects.sucs.org/arthur/mw/commit/faf39683c0eae53cfc7434829069373218fa85ab">faf39683</a></strong>
<div>
<span>by Thomas Lake</span>
<i>at 2016-01-26T11:41:43+00:00</i>
</div>
<pre class='commit-message'>Exit with error if -who or -what arguments used

Closes #16

TODO: Reimplement -who and -what in a server/client friendly manner</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
src/client/main.c
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://projects.sucs.org/arthur/mw/commit/faf39683c0eae53cfc7434829069373218fa85ab#diff-0'>
<strong>
src/client/main.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/src/client/main.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/src/client/main.c
</span><span style="color: #aaaaaa">@@ -336,6 +336,7 @@ int main(int argc, char **argv)
</span>   int view_help = 0;
        int inet_mode = 0;
        int view_since = 0;
<span style="color: #000000;background-color: #ddffdd">+        int old_options = 0;
</span>   int inarg_num = -1;
        int foldername_num = -1;
        int folderuser_num = -1;
<span style="color: #aaaaaa">@@ -381,6 +382,8 @@ int main(int argc, char **argv)
</span>           if (match_arg_str(argv[al], "new")) view_new = 1;
                if (match_arg_str(argv[al], "i")) inet_mode = 1;
                if (match_arg_str(argv[al], "since")) view_since = 1;
<span style="color: #000000;background-color: #ddffdd">+                if (match_arg_str(argv[al], "who")) old_options = 1;
+               if (match_arg_str(argv[al], "what")) old_options = 1;
</span> 
                /* help listing arguments */
                if (match_arg_str(argv[al], "h")) view_help = 1;
<span style="color: #aaaaaa">@@ -439,6 +442,11 @@ int main(int argc, char **argv)
</span>           }
        }
 
<span style="color: #000000;background-color: #ddffdd">+        if (old_options) {
+               printf(_("The -who and -what options are no longer supported\n"));
+               exit(1);
+       }
+
</span>   if (view_help)
        {
                printf(_("\nMilliways accepts the optional arguments of:\n\n"));
</code></pre>

<br>
</li>

</div>
<div class='footer' style='margin-top: 10px;'>
<p>

<br>
<a href="https://projects.sucs.org/arthur/mw/commit/faf39683c0eae53cfc7434829069373218fa85ab">View it on GitLab</a>.
<br>
You're receiving this email because of your account on projects.sucs.org.
If you'd like to receive fewer emails, you can
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://projects.sucs.org/arthur/mw/commit/faf39683c0eae53cfc7434829069373218fa85ab"}}</script>
</p>
</div>
</body>
</html>