]> diplodocus.org Git - nmh/commitdiff
Documented mhparam -debug option.
authorDavid Levine <levinedl@acm.org>
Thu, 14 Jun 2012 14:10:23 +0000 (09:10 -0500)
committerDavid Levine <levinedl@acm.org>
Thu, 14 Jun 2012 14:10:23 +0000 (09:10 -0500)
man/mhparam.man
test/mhparam/test-mhparam
uip/mhparam.c

index 82b343ce131c11507be507a69aaf49399864beee..4326d13d1cf6cb08a99078574365b94d484f42d1 100644 (file)
@@ -13,6 +13,7 @@ mhparam \- print nmh profile and context components
 .RB [ \-component " | " \-nocomponent ]
 .RB [ \-version ]
 .RB [ \-help ]
 .RB [ \-component " | " \-nocomponent ]
 .RB [ \-version ]
 .RB [ \-help ]
+.RB [ \-debug ]
 .ad
 .SH DESCRIPTION
 .B mhparam
 .ad
 .SH DESCRIPTION
 .B mhparam
@@ -43,12 +44,18 @@ If
 is specified, then all components in the nmh profile are
 displayed and other arguments are ignored.
 .PP
 is specified, then all components in the nmh profile are
 displayed and other arguments are ignored.
 .PP
-The locations of two nmh install directories are also available
-through
-.BR mhparam :
+.BR mhparam
+can provide other information, such as
+the locations of the nmh
 .I etcdir
 and
 .I etcdir
 and
-.IR libdir .
+.I libdir
+install directories and all
+.I proc
+settings.  The
+.B \-debug
+switch displays all such other information available from
+.BR mhparam .
 .PP
 Examples:
 .PP
 .PP
 Examples:
 .PP
index b94b9de7f31905aadf6f3d6f722734d0f17ee7e1..087be8d40020306ab2ba11e9337ac5888cd9f988 100755 (executable)
@@ -161,7 +161,7 @@ mhparam path context nonexistent1 nonexistent2 nonexistent3 >/dev/null
 run_test "echo $?" 3
 set -e
 
 run_test "echo $?" 3
 set -e
 
-# mhparam -debug (undocumented)
+# mhparam -debug
 # Some of its output depends on configure options, so don't bother to
 # check for correctness here.
 mhparam -debug >/dev/null
 # Some of its output depends on configure options, so don't bother to
 # check for correctness here.
 mhparam -debug >/dev/null
index 53a252387bccffd06f65411d45ee70d8ebc2378d..d2603522f858a5f9bb497280773c178a5ffb8657 100644 (file)
@@ -29,7 +29,7 @@ static struct swit switches[] = {
 #define        HELPSW    4
     { "help", 0 },
 #define DEBUGSW   5
 #define        HELPSW    4
     { "help", 0 },
 #define DEBUGSW   5
-    { "debug", -5 },
+    { "debug", 5 },
     { NULL, 0 }
 };
 
     { NULL, 0 }
 };