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/sig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rc/bin/sig') diff --git a/rc/bin/sig b/rc/bin/sig index 56125ab17..918161641 100755 --- a/rc/bin/sig +++ b/rc/bin/sig @@ -5,8 +5,8 @@ *=`{echo $*|tr A-Z a-z|tr -dc 'a-z0-9_ \012'} # fold case, delete funny chars if(~ $#* 0){ - echo Usage: sig function ... >/fd/2 - exit 1 + echo usage: sig function ... >/fd/2 + exit usage } for (i) { -- cgit v1.2.3