diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | manpage.6 | 57 |
2 files changed, 60 insertions, 0 deletions
@@ -23,6 +23,9 @@ install: all mkdir -p "$(DESTDIR)/usr/share/licenses/ponysay/" install "COPYING" "$(DESTDIR)/usr/share/licenses/ponysay/COPYING" + mkdir -p "$(DESTDIR)/usr/share/man/man6" + install "manpage.6" "$(DESTDIR)/usr/share/man/man6/ponysay.6" + uninstall: rm -fr "$(DESTDIR)/usr/share/ponies" rm -fr "$(DESTDIR)/usr/share/ttyponies" diff --git a/manpage.6 b/manpage.6 new file mode 100644 index 0000000..0e598ac --- /dev/null +++ b/manpage.6 @@ -0,0 +1,57 @@ +.\" +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH PONYSAY SECTION "April 10, 2012" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp <n> insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +ponysay \- A cowsay wrapper with ponies +.SH SYNOPSIS +.B ponysay +.RI [ options ] [ message ] +.br +.SH DESCRIPTION +.PP +.\" TeX users may be more comfortable with the \fB<whatever>\fP and +.\" \fI<whatever>\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBponysay\fP displays an image of a pony saying some text provided by the user +in a terminal. It is a wrapper for \fIcowsay\fP. If run with no arguments, it +accepts standard input, word-wraps the message given at about 40 columns, and +prints the pony saying the given message on standard output. +.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 \-l +List ponyfiles +.TP +.B \-f [ name ] +Select a pony (Either a filename or a pony name) +.TP +.B \-W [ column ] +The screen column where the message should be wrapped +.SH SEE ALSO +.BR cowsay (6). +.br +.SH AUTHOR +ponysay was written by Erkin Batu Altunbaş <erkinbatu@gmail.com>. +.PP +This manual page was written by Louis Taylor <kragniz@gmail.com>, +for the Debian project (and may be used by others). |