wmifinfo: Add manpage.

Adapted from Debian manpage:
http://sources.debian.net/src/wmifinfo/0.09-7/debian/wmifinfo.1/
This commit is contained in:
Doug Torrance 2014-12-08 21:01:48 -06:00 committed by Carlos R. Mafra
parent 6905ad773e
commit 0e62034030
2 changed files with 40 additions and 0 deletions

View file

@ -19,6 +19,7 @@ COPTS = -D'VERSION="$(VERSION)"' -D'NAME="$(NAME)"'
LDOPTS = -lX11 -lXpm -lXext
PREFIX = /usr/local
BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/share/man
BIN = wmifinfo
FILES = wmifinfo.o xutils.o
@ -42,6 +43,8 @@ clean:
install:
$(INSTALL) -d $(DESTDIR)$(BINDIR)
$(INSTALL) $(BIN) $(DESTDIR)$(BINDIR)
$(INSTALL) -d $(DESTDIR)$(MANDIR)/man1
$(INSTALL) -m 644 wmifinfo.1 $(DESTDIR)$(MANDIR)/man1
dist: clean
rm -rf /tmp/wmifinfo-$(VERSION)

37
wmifinfo/wmifinfo.1 Normal file
View file

@ -0,0 +1,37 @@
.TH WMIFINFO 1 "June 7, 2002"
.SH NAME
wmifinfo \- dockapp for showing basic network info for all available interfaces
.SH SYNOPSIS
.B wmifinfo
[\fIOPTIONS\fR]
.SH DESCRIPTION
\fBwmifinfo\fP is is a simple applet showing basic network info for all
available interfaces.
It shows IP address, netmask, gateway and MAC address. A bit like ifconfig.
Left-button click moves to the next interface, right-button click calls
ifup/ifdown scripts.
Please report bugs if you find any.
.SH OPTIONS
A summary of options is included below.
.TP
.B \-h
Show summary of options.
.TP
.B \-v
Show version of program.
.TP
.B \-d <cmd>
Command to exec for iface-down
.TP
.B \-i <interface>
Start with given interface, if available
.TP
.B \-l
LCD display mode
.TP
.B \-u
Command to exec for iface-up
.br
.SH AUTHOR
This manual page was written by S\[/o]ren Boll Overgaard <boll@debian.org>,
for the Debian GNU/Linux system (but may be used by others).