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/approx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc/bin/approx') diff --git a/rc/bin/approx b/rc/bin/approx index b790da532..98dc89a5a 100755 --- a/rc/bin/approx +++ b/rc/bin/approx @@ -1,6 +1,6 @@ #!/bin/rc if(! ~ $#* 3){ - echo usage: approx ratio min max + echo usage: approx ratio min max >[1=2] exit usage } echo $1 $2 $3 | awk ' -- cgit v1.2.3