<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Hello,<br>
<br>
I've noticed that documentation does not reflect what std.getopt
does concerning endOfOptions ("--").<br>
<br>
Documentation:<br>
<br>
Options Terminator<br>
<br>
A lonesome double-dash terminates getopt gathering. It is used to
separate program options from other parameters (e.g. options to be
passed to another program). Invoking the example above with "--foo
-- --bar" parses foo but leaves "--bar" in args. The double-dash
itself is removed from the argument array.<br>
<br>
---<br>
<br>
But the double-dash is not removed. I've encountered this while
testing a small program, but then looked at std.getopt.d, and
indeed handleOption just breaks on endOfOptions without removing
it. Is this a documentation error or Phobos bug?<br>
<br>
</tt>
<div class="moz-signature">-- <br>
<table style="border: 0px none; font-family: Segoe UI; font-size:
8pt;" width="100%">
<tbody>
<tr>
<td width="50%"><br>
</td>
<td><b></b>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>