Fix `headers' command documentation+ (Jan Chaloupka)..
commitee76a421e17c694a54f061d1fc761acf42939c63
authorSteffen (Daode) Nurpmeso <sdaoden@users.sf.net>
Thu, 21 Aug 2014 11:24:26 +0000 (21 13:24 +0200)
committerSteffen (Daode) Nurpmeso <sdaoden@users.sf.net>
Sat, 27 Sep 2014 18:50:28 +0000 (27 20:50 +0200)
tree2003c889eff72888da09e0e42cbb616df564eaf4
parentd105d804685420818396ad2df1eb2876bb6ae70b
Fix `headers' command documentation+ (Jan Chaloupka)..

Jan Chaloupka forwarded to nail-devel@ a Red Hat bugreport [1]
where a user reported that the `headers' command doesn't work as
indicated.  And indeed it is falsely documented, referring to "+"
and "-" as forward and backward scrolling indicators, whereas
`headers' simply takes a message specification.

While here, reorganize the code a little bit so that the thread
and list code doesn't use c_headers() but instead the new
print_header_group(), since in the future all the commands will
take a structure argument in order to keep the command line
constant.

  [1] <https://bugzilla.redhat.com/show_bug.cgi?id=1131533>
cmd1.c
cmd_tab.h
lex.c
nail.1
nailfuns.h
thread.c