]> arthur.barton.de Git - ngircd-web.git/commitdiff
Move help output to common/help.inc and update it
authorAlexander Barton <alex@barton.de>
Fri, 20 Jan 2017 21:05:47 +0000 (22:05 +0100)
committerAlexander Barton <alex@barton.de>
Fri, 20 Jan 2017 21:05:47 +0000 (22:05 +0100)
common/help.inc [new file with mode: 0644]
index.php.de
index.php.en

diff --git a/common/help.inc b/common/help.inc
new file mode 100644 (file)
index 0000000..4c97ed7
--- /dev/null
@@ -0,0 +1,16 @@
+ngIRCd 24-CHARCONV+DEBUG+IDENT+IPv6+IRCPLUS+PAM+SNIFFER+SSL+SYSLOG+TCPWRAP+ZLIB-x86_64/pc/linux-gnu
+Copyright (c)2001-2017 Alexander Barton (<alex@barton.de>) and Contributors.
+Homepage: <http://ngircd.barton.de/>
+
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+  -d, --debug        log extra debug messages
+  -f, --config <f>   use file <f> as configuration file
+  -n, --nodaemon     don't fork and don't detach from controlling terminal
+  -p, --passive      disable automatic connections to other servers
+  -s, --sniffer      enable network sniffer and display all IRC traffic
+  -t, --configtest   read, validate and display configuration; then exit
+  -V, --version      output version information and exit
+  -h, --help         display this help and exit
+
index a0fee5cc63d48269c0cc8f1539ee88afa20e579e..f1b8ca3392816f87f24f6462075b401f035dd85f 100644 (file)
 <div id="preview">
        <code><a id="v_toggle" href="#" name="v_toggle">ngircd --help</a></code><br>
        <div id="vertical_slide">
-               <samp>ngIRCd 22.1-IRCPLUS+SYSLOG+ZLIB-x86_64/unknown/linux-gnu
-Copyright (c)2001-2015 Alexander Barton (&lt;alex@barton.de&gt;) and Contributors.
-Homepage: &lt;http://ngircd.barton.de/&gt;
-
-This is free software; see the source for copying conditions. There is NO
-warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-  -f, --config &lt;f&gt;   use file &lt;f&gt; as configuration file
-  -n, --nodaemon     don't fork and don't detach from controlling terminal
-  -p, --passive      disable automatic connections to other servers
-  -t, --configtest   read, validate and display configuration; then exit
-  -V, --version      output version information and exit
-  -h, --help         display this help and exit</samp>
+               <samp><?php include 'common/help.inc' ?></samp>
        </div>
 </div>
 <h2>
index 5b6eb503d83e548651f6f26f2fd3364c1212d612..a4e1d74f25e5988e3f8902610a8f36df3c795269 100644 (file)
 <div id="preview">
        <code><a id="v_toggle" href="#" name="v_toggle">ngircd --help</a></code><br>
        <div id="vertical_slide">
-               <samp>ngIRCd 22.1-IRCPLUS+SYSLOG+ZLIB-x86_64/unknown/linux-gnu
-Copyright (c)2001-2015 Alexander Barton (&lt;alex@barton.de&gt;) and Contributors.
-Homepage: &lt;http://ngircd.barton.de/&gt;
-
-This is free software; see the source for copying conditions. There is NO
-warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-  -f, --config &lt;f&gt;   use file &lt;f&gt; as configuration file
-  -n, --nodaemon     don't fork and don't detach from controlling terminal
-  -p, --passive      disable automatic connections to other servers
-  -t, --configtest   read, validate and display configuration; then exit
-  -V, --version      output version information and exit
-  -h, --help         display this help and exit</samp>
+               <samp><?php include 'common/help.inc' ?></samp>
        </div>
 </div>
 <h2>