summaryrefslogtreecommitdiffstats
path: root/usage.c
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2024-05-08 23:43:24 +0200
committerpgen <p.gen.progs@gmail.com>2024-05-09 14:59:20 +0200
commit598a788ab97d1aeae790940df98317d2c1602e16 (patch)
tree87c2519da14fc3ea48442ad6a539a8c56eb8af16 /usage.c
parentaea2784d3307654c4733f7208284bc13c190fcfb (diff)
Add a -hbar|-shroll_bar optionHEADmaster
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.
Diffstat (limited to 'usage.c')
-rwxr-xr-xusage.c5
1 files changed, 4 insertions, 1 deletions
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");