summaryrefslogtreecommitdiff
path: root/example2.1.in
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-12-19 19:20:02 +0000
committerLars Wirzenius <liw@liw.fi>2011-12-19 19:20:02 +0000
commit11f7e2369d5913697aee479e04c8d53631edef35 (patch)
treec4501506ab23efd99b6c5e03998e0251cfd7caa5 /example2.1.in
parent3d2242911d2b78d5a9f44b04922263bf9ea93b85 (diff)
downloadcliapp-11f7e2369d5913697aee479e04c8d53631edef35.tar.gz
add example manpage for example2
Diffstat (limited to 'example2.1.in')
-rw-r--r--example2.1.in34
1 files changed, 34 insertions, 0 deletions
diff --git a/example2.1.in b/example2.1.in
new file mode 100644
index 0000000..b7c45fe
--- /dev/null
+++ b/example2.1.in
@@ -0,0 +1,34 @@
+.\" Copyright (C) 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 2 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, write to the Free Software Foundation, Inc.,
+.\" 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+.\"
+.TH EXAMPLE2.PY 1
+.SH NAME
+example2.py \- cliapp-based simplistic hello, world app
+.SH SYNOPSIS
+.SH DESCRIPTION
+.B example2.py
+is an example program for
+.BR cliapp ,
+a Python framework for command line utilities.
+.SH OPTIONS
+.SH EXAMPLE
+To greet:
+.IP
+python example2.py greet
+.PP
+To insult:
+.IP
+python example2.py insult