cnslock: Add manpage.

This commit is contained in:
Doug Torrance 2017-02-27 20:50:44 -05:00 committed by Carlos R. Mafra
parent 743b72fc4e
commit 1d20d16ccb
3 changed files with 23 additions and 1 deletions

View file

@ -1,5 +1,6 @@
bin_PROGRAMS = cnslock bin_PROGRAMS = cnslock
cnslock_SOURCES = cnslock.c kleds.c graphics/caps_num_scroll.xpm include/kleds.h cnslock_SOURCES = cnslock.c kleds.c graphics/caps_num_scroll.xpm include/kleds.h
dist_man_MANS = cnslock.1
EXTRA_DIST = CHANGES EXTRA_DIST = CHANGES
AM_CFLAGS = $(x11_CFLAGS) $(dockapp_CFLAGS) AM_CFLAGS = $(x11_CFLAGS) $(dockapp_CFLAGS)

21
cnslock/cnslock.1.in Normal file
View file

@ -0,0 +1,21 @@
.TH CNSLOCK "1" "February 2017" @VERSION@
.SH NAME
cnslock \- Window Maker dockapp that displays the various states ofthe CAPS,
NUM and SCROLL LOCK keys.
.SH SYNOPSIS
.B cnslock
[\fI\,OPTIONS\/\fR]
.SH OPTIONS
.TP
\fB\-h\fR, \fB\-\-help\fR
show this help text and exit
.TP
\fB\-v\fR, \fB\-\-version\fR
show program version and exit
.TP
\fB\-w\fR, \fB\-\-windowed\fR
run the application in windowed mode
.SH AUTHOR
cnslock was written by Simon Hunter. Now maintained by the Window Maker Team
<wmaker-dev@lists.windowmaker.org>.

View file

@ -4,5 +4,5 @@ AC_CONFIG_SRCDIR([configure.ac])
AC_PROG_CC AC_PROG_CC
PKG_CHECK_MODULES([x11], [x11]) PKG_CHECK_MODULES([x11], [x11])
PKG_CHECK_MODULES([dockapp], [dockapp]) PKG_CHECK_MODULES([dockapp], [dockapp])
AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([Makefile cnslock.1])
AC_OUTPUT AC_OUTPUT