From: David Levine Date: Thu, 24 Mar 2016 23:57:15 +0000 (-0400) Subject: Changed minchars swit values for -[no]concat switches to show(1) X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/961d5bf9387fcaa225caa2bc72c71d8bc8d64849?ds=sidebyside;hp=--cc Changed minchars swit values for -[no]concat switches to show(1) from negative to 0, so that they can be abbreviated and so that they appear with -help. Added them to the man page, and fixed text that was copied from mhshow(1) man page. --- 961d5bf9387fcaa225caa2bc72c71d8bc8d64849 diff --git a/man/mhshow.man b/man/mhshow.man index c2bba35c..58e2c195 100644 --- a/man/mhshow.man +++ b/man/mhshow.man @@ -1,4 +1,4 @@ -.TH MHSHOW %manext1% "February 8, 2015" "%nmhversion%" +.TH MHSHOW %manext1% "March 24, 2016" "%nmhversion%" .\" .\" %nmhwarning% .\" @@ -93,7 +93,7 @@ string representing the current folder. .PP By default .B mhshow -will concatenate all content under one pager. If you which each part to +will concatenate all content under one pager. If you want each part to displayed separately, you can override the default behavior with .B \-noconcat. .PP diff --git a/man/show.man b/man/show.man index 57832c3f..2e9169aa 100644 --- a/man/show.man +++ b/man/show.man @@ -1,4 +1,4 @@ -.TH SHOW %manext1% "February 8, 2015" "%nmhversion%" +.TH SHOW %manext1% "March 24, 2016" "%nmhversion%" .\" .\" %nmhwarning% .\" @@ -17,6 +17,7 @@ show \- show (display) messages .IR program ] .RB [ \-header " | " \-noheader ] .RB [ \-checkmime " | " \-nocheckmime ] +.RB [ \-concat " | " \-noconcat ] [switches\ for .I showproc or @@ -142,6 +143,12 @@ to display a one\-line description of the message being shown. This description includes the folder and the message number. .PP +By default +.B show +will concatenate all content under one pager. If you want each part to +displayed separately, you can override the default behavior with +.B \-noconcat. +.PP If no `msgs' are specified, the current message is used. Although it depends on the specific .I showproc @@ -196,6 +203,7 @@ from each sequence named by the profile entry. .RB ` msgs "' defaults to cur" .RB ` \-checkmime ' .RB ` \-header ' +.RB ` \-concat ' .fi .SH CONTEXT If a folder is given, it will become the current folder. The last diff --git a/uip/show.c b/uip/show.c index 5b815f4e..32917398 100644 --- a/uip/show.c +++ b/uip/show.c @@ -32,8 +32,8 @@ /* \ * switches for mhlproc \ */ \ - X("concat", -6, CONCATSW) \ - X("noconcat", -8, NCONCATSW) \ + X("concat", 0, CONCATSW) \ + X("noconcat", 0, NCONCATSW) \ /* \ * switches for mhshow \ */ \