From 5bc9b0c3cac34864d479c099283793ec4ae5565e Mon Sep 17 00:00:00 2001 From: Ori Bernstein Date: Tue, 10 Mar 2020 10:09:34 -0700 Subject: improve usage messages (thanks henesy) Fix inconsistencies between programs and their usage messages, correct instances where information seems to be missing or lost. This includes missing arguments, making usage consistent with manuals, and so on. --- rc/bin/man | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rc/bin/man') diff --git a/rc/bin/man b/rc/bin/man index 042fb1cca..f002c2121 100755 --- a/rc/bin/man +++ b/rc/bin/man @@ -59,8 +59,8 @@ fn page { search=yes while(~ $d 0) { if(~ $#* 0) { - echo 'Usage: man [-bntpPSw] [0-9] [0-9] ... name1 name2 ...' >[1=2] - exit + echo 'usage: man [-bntpPSw] [0-9] [0-9] ... name1 name2 ...' >[1=2] + exit usage } if(test -d $S/$1){ sec=($sec $1) -- cgit v1.2.3