From 7f24e23ac394d70980ebd8bdbf908a0020660a09 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 23 May 2011 14:25:44 +0100 Subject: Add sample manpage template for example.py. --- example.1.in | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 example.1.in (limited to 'example.1.in') diff --git a/example.1.in b/example.1.in new file mode 100644 index 0000000..d9228d2 --- /dev/null +++ b/example.1.in @@ -0,0 +1,30 @@ +.\" Copyright 2011 Lars Wirzenius +.\" +.\" This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. +.\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see . +.\" +.TH EXAMPLE.PY 1 +.SH NAME +example.py \- cliapp-based simplistic fgrep clone +.SH SYNOPSIS +.SH DESCRIPTION +.B example.py' +is an example program for +.BR cliapp , +a Python framework for command line utilities. +.SH OPTIONS +.SH EXAMPLE +To find a pattern in a file: +.IP +python example.py --pattern=needle haystack.txt + -- cgit v1.2.1