[Pkg-javascript-devel] Bug#961893: npm2deb: Minor manpage improvements

Wookey wookey at debian.org
Sun May 31 01:42:27 BST 2020


Package: npm2deb
Version: 0.3.0-4
Severity: minor
Tags: patch

The man page is minimal and was not clear to me so I improved it a bit.

Made clear that you don't put in 'DEBUG' text but a level number of 1 or 2.

Clarified behaviour of 'create' and fixed a typo. 
-------------- next part --------------
diff -u a/man/npm2deb.1 b/man/npm2deb.1
--- a/man/npm2deb.1	2020-05-31 01:21:47.609895454 +0100
+++ b/man/npm2deb.1	2020-05-31 01:28:56.872783273 +0100
@@ -4,7 +4,7 @@
 - debianize nodejs modules available via npm
 
 .SH SYNOPSIS
-.B npm2deb\fR [\fB-D\fR \fIdebug\fR] { create | view | depends | rdepends | search | itp } \fInode_module\fR
+.B npm2deb\fR [\fB-D\fR \fIdebuglevel\fR] { create | view | depends | rdepends | search | itp } \fInode_module\fR
 .br
 .B npm2deb\fR license {-l | license }
 
@@ -20,15 +20,15 @@
 \fB\-h\fR, \fB\-\-help\fR
 show this help message and exit
 .TP
-\fB\-D\fR DEBUG, \fB\-\-debug\fR DEBUG
-set debug level
+\fB\-D\fR DEBUG, \fB\-\-debug\fR DEBUGLEVEL
+set debug level (currently 1 or 2)
 .TP
 \fB\-v\fR, \fB\-\-version\fR
 show program's version number and exit
 .SS "commands:"
 .TP
 \fIcreate
-create the debian files
+download node module, create debian files, and generate a package
 .TP
 \fIview
 a summary view of a node module
@@ -40,10 +40,10 @@
 show the reverse dependencies for module
 .TP
 \fIsearch
-look for module in debian project
+look for module in debian project. Checks the archive, simialr named packages, and WNPP for other packaging attempts
 .TP
 \fIitp
-print a itp bug template
+print an itp bug template
 .TP
 \fIlicense
 print license template and exit


More information about the Pkg-javascript-devel mailing list