aboutsummaryrefslogtreecommitdiff
path: root/py2man
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2015-01-03 10:14:25 -0800
committerBrian Dolbec <dolsen@gentoo.org>2015-01-05 14:14:35 -0800
commit1edc0ff77d24bd468ffc7d446aa8b2c9ed162f0d (patch)
tree00911cf39a4cba76ff8674b6a470b9e51255633e /py2man
parentInitial py2man pkg for auto-generating our man pages (diff)
downloadgentoo-keys-1edc0ff77d24bd468ffc7d446aa8b2c9ed162f0d.tar.gz
gentoo-keys-1edc0ff77d24bd468ffc7d446aa8b2c9ed162f0d.tar.bz2
gentoo-keys-1edc0ff77d24bd468ffc7d446aa8b2c9ed162f0d.zip
py2man: Initial man templates
Diffstat (limited to 'py2man')
-rw-r--r--py2man/command.template34
-rw-r--r--py2man/sub-command.template38
2 files changed, 72 insertions, 0 deletions
diff --git a/py2man/command.template b/py2man/command.template
new file mode 100644
index 0000000..71ee35e
--- /dev/null
+++ b/py2man/command.template
@@ -0,0 +1,34 @@
+.TH "%(prog)s" "1" "version %(version)s, %(date)s" "GKEYS" ""
+.SH NAME
+%(prog)s \- %(desc)s
+.SH SYNOPSIS
+.B %(prog)s
+[\fB\-h\fR] [\fB\-c\fR \fICONFIG\fR] [\fB\-D\fR \fI{WARNING,INFO,FATAL,NOTSET,WARN,DEBUG,ERROR,CRITICAL}\fR] [\fBSUBCOMMAND] [\fBSUBCOMMAND-OPTION] ...
+.SH DESCRIPTION
+.PP
+
+.SH OPTIONAL ARGUMENTS
+%(options)s
+
+.SH SUBCOMMANDS
+%(sub-cmds)s
+
+.SH REPORTING BUGS
+Submit bug reports to http://bugs.gentoo.org.
+.br
+Please assign bug to <gkeys@gentoo.org> email alias.
+
+.SH COPYRIGHTS
+Gentoo Keys project is under GPL-2 License.
+
+.SH AUTHORS
+.br
+Brian Dolbec <dolsen@gentoo.org>
+.br
+Pavlos Ratis <dastergon@gentoo.org>
+
+.SH "SEE ALSO"
+.BR gkeys.conf (1),
+%(actions)s
+
+(This man page was auto-generated from source)
diff --git a/py2man/sub-command.template b/py2man/sub-command.template
new file mode 100644
index 0000000..41de926
--- /dev/null
+++ b/py2man/sub-command.template
@@ -0,0 +1,38 @@
+.TH "%(prog)s-%(action)s" "1" "version %(version)s, %(date)s" "GKEYS" ""
+.SH NAME
+%(prog)s %(action)s \- %(desc)s
+.SH SYNOPSIS
+.B %(prog)s
+[\\fBGLOBAL-OPTIONS\\fR] \\fB%(action)s \\f[-h] %(opts)s
+
+.SH DESCRIPTION
+.PP
+%(long_desc)s
+.SH OPTIONAL ARGUMENTS
+.IP "-h, --help"
+show this help message and exit
+%(options)s
+
+%(exampleheader)s
+%(example)s
+
+.SH REPORTING BUGS
+Submit bug reports to http://bugs.gentoo.org.
+.br
+Please assign bug to <gkeys@gentoo.org> email alias.
+
+.SH COPYRIGHTS
+Gentoo Keys project is under GPL-2 License.
+
+.SH AUTHORS
+.br
+Brian Dolbec <dolsen@gentoo.org>
+.br
+Pavlos Ratis <dastergon@gentoo.org>
+
+.SH "SEE ALSO"
+.BR gkeys (1),
+.BR gkeys.conf (1),
+%(actions)s
+
+(This man page was auto-generated from source)