Fix 'hardcopy -h'.
commitfd8832ccdbf807fe9a6ecd04d6166191c3b7ae90
authorKipling Inscore <kinscore@synaptics.com>
Thu, 1 Apr 2010 19:53:29 +0000 (1 15:53 -0400)
committerSadrul Habib Chowdhury <sadrul@users.sourceforge.net>
Thu, 1 Apr 2010 19:53:29 +0000 (1 15:53 -0400)
treef9abd86c1066e1a0ca0e9ab47cbd4cbe5dc9bcf9
parenta881bb274ae2d3c4027ae61e1707576bc8d35cab
Fix 'hardcopy -h'.

Make -h save scrollback with or without a file name given. Also,
preserve the unlikely case in which someone actually does want to
save display to '-h'; with

  :hardcopy -- -h

or, to save both history and display to '-h'

  :hardcopy -h -h

Also,

  :hardcopy --
  :hardcopy -h --

will, as they always have, save display or history and display to
'--'.
src/ChangeLog
src/process.c