From 598a788ab97d1aeae790940df98317d2c1602e16 Mon Sep 17 00:00:00 2001 From: pgen Date: Wed, 8 May 2024 23:43:24 +0200 Subject: Add a -hbar|-shroll_bar option It can be useful to always have a horizontal scroll bar when certain lines are truncated in column or line mode, even if no lines are currently truncated among those displayed. --- usage.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'usage.c') diff --git a/usage.c b/usage.c index 06fa28b..6403da9 100755 --- a/usage.c +++ b/usage.c @@ -67,8 +67,11 @@ common_help(void) printf(" defines line separators in the input stream.\n"); printf("-q|-no_bar|-no_scroll_bar\n"); printf(" prevents the scroll bar from being displayed.\n"); - printf("-q|-no_hbar|-no_hor_scroll_bar\n"); + printf("-no_hbar|-no_hor_scroll_bar\n"); printf(" prevents the horizontal scroll bar from being displayed.\n"); + printf("-hbar|-hor_scroll_bar\n"); + printf(" always displays the horizontal scroll bar when certain lines are " + "truncated.\n"); printf("-S|-subst\n"); printf(" defines the post-substitution action to apply to all words.\n"); printf("-I|-si|-subst_included\n"); -- cgit v1.2.3