finger

finger fortune@hhvn.uk
Log | Files | Refs | LICENSE

commit 98872e10dbac98b6ff2b7c0e423ba6e825913b99
parent 572d7b5eee88d246ade8c462e9870598e96e1997
Author: hhvn <dev@hhvn.uk>
Date:   Sun,  6 Jun 2021 16:30:14 +0100

makefile finger.1: add manpage

Diffstat:
Afinger.1 | 32++++++++++++++++++++++++++++++++
Mmakefile | 6+++---
2 files changed, 35 insertions(+), 3 deletions(-)

diff --git a/finger.1 b/finger.1 @@ -0,0 +1,32 @@ +.Dd COMMIT +.Dt finger 1 +.Os +.Sh NAME +.Nm finger +.Nd hhvn's finger client +.Sh SYNOPSIS +.Nm +.Op Fl lv +.\" did this raw instead of use .Op due to complexity +[user]@[host[:port] +.Sh OPTIONS +.Bl -tag -width "-l" +.It Fl l +Enable long output (send the /W prefix). +.It Fl v +Enable verbosity (print function name alongside error). +.El +.Sh DESCRIPTION +.Nm +is a finger protocol client. It will connect to the specified +.Ar host +and retrieve information on the specified +.Ar user. +.Sh SEE ALSO +.Bl -item -compact +.It +.Xr hfingerd 8 +.It +RFC1288 +.Sh AUTHOR +.An hhvn Aq Mt dev@hhvn.uk diff --git a/makefile b/makefile @@ -16,9 +16,9 @@ clean: install: $(BIN) install -m0755 $(BIN) $(PREFIX)/bin/$(BIN) sed "s/COMMIT/$(COMMIT)/" \ - < $(BIN).8 \ - > $(PREFIX)/share/man/man8/$(BIN).8 + < $(BIN).1 \ + > $(PREFIX)/share/man/man1/$(BIN).1 uninstall: -rm $(PREFIX)/bin/$(BIN) - -rm $(PREFIX)/share/man/man8/$(BIN).8 + -rm $(PREFIX)/share/man/man1/$(BIN).1