]> git.ipfire.org Git - thirdparty/util-linux.git/commit
cfdisk: shorten the help screen to make it fit within 25 lines
authorBenno Schulenberg <bensberg@justemail.net>
Sun, 18 Jan 2015 16:21:25 +0000 (17:21 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 26 Jan 2015 10:53:49 +0000 (11:53 +0100)
commite993b9c8e5249a0509c3f8be415d300055c2e5f7
treeeac275cfd2942345114b9d87aa7cb6bd2f3c46b9
parentfd4484a712dadd828352139cf6874abd211f6b87
cfdisk: shorten the help screen to make it fit within 25 lines

When the terminal has less than 32 lines, the new cfdisk ignored the
fact that the help-screen text was longer and just skipped printing
the remaining lines.  Instead of introducing a minipager for the help
screen, just condense its text and remove unneeded lines.  Now the
text occupies just 25 lines, which should fit on most terminals.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
disk-utils/cfdisk.c