hfingerd

hhvn.uk:79
Log | Files | Refs | LICENSE

commit 5f68f6ce838f8663a64f246dba06c58ba10ac432
parent edb499d012cf5f10d67a540631571d386be2b4d3
Author: hhvn <dev@hhvn.uk>
Date:   Sun,  6 Jun 2021 14:19:03 +0100

main.c hfingerd.8: rename -h to -i

Diffstat:
Mhfingerd.8 | 4++--
Mmain.c | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/hfingerd.8 b/hfingerd.8 @@ -7,7 +7,7 @@ .Sh SYNOPSIS .Nm .Op Fl vCc -.Op Fl h Ar host +.Op Fl i Ar interface .Op Fl p Ar port .Op Fl f Ar planfile .Sh OPTIONS @@ -19,7 +19,7 @@ Turn off CGI .It Fl c Turn on CGI .It Fl h Ar host -Set hostname to bind to +Interface (ip/host) to bind to .It Fl p Ar port Set port to bind to .It Fl f Ar planfile diff --git a/main.c b/main.c @@ -149,7 +149,7 @@ main(int argc, char *argv[]) { pid_t pid; ARGBEGIN { - case 'h': + case 'i': host = EARGF(usage()); break; case 'p':