<feed xmlns='http://www.w3.org/2005/Atom'>
<title>~steering/inspircd++.git/src/inspircd.cpp, branch v3.12.0</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>https://www.cgit.space/~steering/inspircd++.git/atom/src/inspircd.cpp?h=v3.12.0</id>
<link rel='self' href='https://www.cgit.space/~steering/inspircd++.git/atom/src/inspircd.cpp?h=v3.12.0'/>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/'/>
<updated>2021-12-30T18:52:08Z</updated>
<entry>
<title>Update copyright headers.</title>
<updated>2021-12-30T18:52:08Z</updated>
<author>
<name>InspIRCd Robot</name>
</author>
<published>2021-12-30T18:52:08Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=adbe149c56bc938aa5d2454e4a4f9cc9d68efa68'/>
<id>urn:sha1:adbe149c56bc938aa5d2454e4a4f9cc9d68efa68</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update copyright headers.</title>
<updated>2021-08-27T08:38:22Z</updated>
<author>
<name>InspIRCd Robot</name>
</author>
<published>2021-08-27T08:38:22Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=4540162276aa23e016ae094158d2d1d93bcc734f'/>
<id>urn:sha1:4540162276aa23e016ae094158d2d1d93bcc734f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix argv index error in 'unknown option' message.</title>
<updated>2021-08-10T10:38:49Z</updated>
<author>
<name>Valentin Lorentz</name>
</author>
<published>2021-08-04T20:27:55Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=3d6365989f57a96f12e02dc85b111beb7947ec73'/>
<id>urn:sha1:3d6365989f57a96f12e02dc85b111beb7947ec73</id>
<content type='text'>
It looks like ya_getopt increments `optind` between reading the argument
and returning.

Before:

```
$ ./build/GCC-8.3/bin/inspircd --foo bar
Error: unknown option 'bar'.
$ ./build/GCC-8.3/bin/inspircd --help
Error: unknown option '%
```

After:

```
$ ./build/GCC-8.3/bin/inspircd --foo bar
Error: unknown option '--foo'.
Usage: ./build/GCC-8.3/bin/inspircd [--config &lt;file&gt;] [--debug] [--nofork] [--nolog]
                                    [--nopid] [--runasroot] [--version]
$ ./build/GCC-8.3/bin/inspircd --help
Error: unknown option '--help'.
Usage: ./build/GCC-8.3/bin/inspircd [--config &lt;file&gt;] [--debug] [--nofork] [--nolog]
                                    [--nopid] [--runasroot] [--version]

```
</content>
</entry>
<entry>
<title>Update copyright headers.</title>
<updated>2021-03-05T02:16:11Z</updated>
<author>
<name>InspIRCd Robot</name>
</author>
<published>2021-03-05T02:04:16Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=7b1ab06a9551d8db141ebc9213836af6b5369284'/>
<id>urn:sha1:7b1ab06a9551d8db141ebc9213836af6b5369284</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix not being able to colour format output to stderr on Windows.</title>
<updated>2021-03-03T01:52:27Z</updated>
<author>
<name>Sadie Powell</name>
</author>
<published>2021-03-03T01:52:27Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=d55581a1107de1e548b67d29a9ca0fcb7f1a0572'/>
<id>urn:sha1:d55581a1107de1e548b67d29a9ca0fcb7f1a0572</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update copyright headers.</title>
<updated>2021-02-26T06:58:13Z</updated>
<author>
<name>InspIRCd Robot</name>
</author>
<published>2021-02-26T06:58:13Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=1bf7ca389426e196697eba9a8b60277db03fbedb'/>
<id>urn:sha1:1bf7ca389426e196697eba9a8b60277db03fbedb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Duplicate the stdout file handle when used for logging.</title>
<updated>2021-02-01T18:10:53Z</updated>
<author>
<name>Sadie Powell</name>
</author>
<published>2021-02-01T18:10:53Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=aa4c7489b708eb54856871ecdf2bbde99fde92bc'/>
<id>urn:sha1:aa4c7489b708eb54856871ecdf2bbde99fde92bc</id>
<content type='text'>
Failure to do this may result in a crash on shutdown when started
in debug mode.
</content>
</entry>
<entry>
<title>Fix showing the start header when using --version.</title>
<updated>2021-01-18T07:12:23Z</updated>
<author>
<name>Sadie Powell</name>
</author>
<published>2021-01-18T07:07:50Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=f9a663185402b9689c784dc87c317ac204c53f03'/>
<id>urn:sha1:f9a663185402b9689c784dc87c317ac204c53f03</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a new runtime directory and move the pid file to it.</title>
<updated>2021-01-18T07:05:27Z</updated>
<author>
<name>Sadie Powell</name>
</author>
<published>2021-01-18T06:56:18Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=a59ed4b39443eb788c15c65501898ca374387e2e'/>
<id>urn:sha1:a59ed4b39443eb788c15c65501898ca374387e2e</id>
<content type='text'>
The data directory is intended for persistent files whereas the pid
file is ephemeral. This distinction doesn't matter by default but
on system-wide installs ephemeral runtime files go in /var/run or
/run instead.
</content>
</entry>
<entry>
<title>Fix an off by one error in the "unknown option" message.</title>
<updated>2020-11-03T15:58:59Z</updated>
<author>
<name>Sadie Powell</name>
</author>
<published>2020-11-03T15:58:59Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=d76f856fc9d97af68c9cbad0aca9d5505506b4d9'/>
<id>urn:sha1:d76f856fc9d97af68c9cbad0aca9d5505506b4d9</id>
<content type='text'>
</content>
</entry>
</feed>
