Show new interface behaviour in manpage and help message. - geomyidae - A small C-based gopherd. HTML git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit e32a3c324c94aa302f866d422ac6f1340593c01c DIR parent 4fe10e742add6f47102b7905fc9c7a606a75df2c HTML Author: Christoph Lohmann <20h@r-36.net> Date: Thu, 15 Nov 2018 21:27:21 +0100 Show new interface behaviour in manpage and help message. Diffstat: M geomyidae.8 | 7 ++++--- M main.c | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) --- DIR diff --git a/geomyidae.8 b/geomyidae.8 @@ -25,7 +25,7 @@ .Op Fl u Ar user .Op Fl g Ar group .Op Fl h Ar host -.Op Fl i Ar IP +.Op Fl i Ar interface ... .Ek . .Sh DESCRIPTION @@ -153,8 +153,9 @@ processing. .It Fl h Ar host Host to use in directory listings (default: localhost) . -.It Fl i Ar IP -IP to which geomyidae binds to (default: 0.0.0.0) +.It Fl i Ar interface +Defines the interface to which geomyidae binds to (default: 0.0.0.0). +Multiple interfaces can be given. .El . .Sh FORMATTING DIR diff --git a/main.c b/main.c @@ -386,7 +386,7 @@ usage(void) { dprintf(2, "usage: %s [-46cden] [-l logfile] " "[-v loglvl] [-b base] [-p port] [-o sport] " - "[-u user] [-g group] [-h host] [-i IP]\n", + "[-u user] [-g group] [-h host] [-i interface ...]\n", argv0); exit(1); }