[Pkg-javascript-commits] [node-js-yaml] 13/15: Add manpage using help2man

Ross Gammon ross-guest at moszumanska.debian.org
Sun Sep 4 05:56:45 UTC 2016


This is an automated email from the git hooks/post-receive script.

ross-guest pushed a commit to branch master
in repository node-js-yaml.

commit 5e78c672e542a1b343c511916533d6f92bac4b5e
Author: Ross Gammon <rossgammon at mail.dk>
Date:   Sun Sep 4 07:09:59 2016 +0200

    Add manpage using help2man
---
 debian/help2man.include |  4 ++++
 debian/js-yaml.1        | 27 +++++++++++++++++++++++++++
 debian/manpages         |  1 +
 debian/rules            |  3 +++
 4 files changed, 35 insertions(+)

diff --git a/debian/help2man.include b/debian/help2man.include
new file mode 100644
index 0000000..6b4a055
--- /dev/null
+++ b/debian/help2man.include
@@ -0,0 +1,4 @@
+[authors]
+.B js-yaml
+was primarily authored by Vladimir Zapparov with contributions
+from Aleksey V Zapparov, Vitaly Puzrin, and Martin Grenfell.
diff --git a/debian/js-yaml.1 b/debian/js-yaml.1
new file mode 100644
index 0000000..4188175
--- /dev/null
+++ b/debian/js-yaml.1
@@ -0,0 +1,27 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.3.
+.TH JS-YAML.JS "1" "September 2016" "js-yaml.js 3.6.1" "User Commands"
+.SH NAME
+js-yaml.js \- JavaScript YAML parser and dumper
+.SH DESCRIPTION
+usage: js\-yaml [\-h] [\-v] [\-c] [\-t] [file]
+.SS "Positional arguments:"
+.TP
+file
+File to read, utf\-8 encoded without BOM
+.SS "Optional arguments:"
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+Show this help message and exit.
+.TP
+\fB\-v\fR, \fB\-\-version\fR
+Show program's version number and exit.
+.TP
+\fB\-c\fR, \fB\-\-compact\fR
+Display errors in compact mode
+.TP
+\fB\-t\fR, \fB\-\-trace\fR
+Show stack trace on error
+.SH AUTHORS
+.B js-yaml
+was primarily authored by Vladimir Zapparov with contributions
+from Aleksey V Zapparov, Vitaly Puzrin, and Martin Grenfell.
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..d60d271
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+debian/js-yaml.1
diff --git a/debian/rules b/debian/rules
index 1e41c2d..230c79a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,3 +15,6 @@ override_dh_auto_test:
 
 override_dh_fixperms:
 	dh_fixperms --exclude usr/lib/nodejs/js-yaml/bin/js-yaml.js
+
+help2man:
+	help2man --no-info --name "JavaScript YAML parser and dumper" --include=debian/help2man.include bin/js-yaml.js > debian/js-yaml.1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-js-yaml.git



More information about the Pkg-javascript-commits mailing list