From 925ba68c3ca97b8d437f95f3b329b50f43238907 Mon Sep 17 00:00:00 2001 From: Shav Kinderlehrer Date: Fri, 9 Jun 2023 13:52:14 -0400 Subject: Add auto-pager --- src/lib/arg.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/lib/arg.c') diff --git a/src/lib/arg.c b/src/lib/arg.c index 993f7fa..bb2928c 100644 --- a/src/lib/arg.c +++ b/src/lib/arg.c @@ -1,6 +1,7 @@ #include #include #include +#include #include #include "arg.h" @@ -24,9 +25,10 @@ void help(void) { "binary\n" "\t-r print everything (headers, line numbers, etc.) to " "stdout (or equivalent)\n" - "\t-p print file with the pager (uses less)\n" + "\t-p disable or enable pager (uses less)\n" "\t-n manually set the name of the file shown in the title\n" - // "\t-e NONFUNCTIONAL (will be added soon) link extension to lat\n" + // "\t-e NONFUNCTIONAL (will be added soon) link extension + // to lat\n" "\t-V show program version\n" "\t-h display this help text\n\n"); printf("environment:\n" -- cgit v1.2.3