summaryrefslogtreecommitdiff
path: root/rc/bin/psfax
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2020-03-10 10:09:34 -0700
committerOri Bernstein <ori@eigenstate.org>2020-03-10 10:09:34 -0700
commit5bc9b0c3cac34864d479c099283793ec4ae5565e (patch)
tree943d06d59dfd6c13cc0a724a3118d5099b264884 /rc/bin/psfax
parent06ea44c895a5f97b7b9b65fce84dec2700f443fb (diff)
downloadplan9front-5bc9b0c3cac34864d479c099283793ec4ae5565e.tar.xz
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.
Diffstat (limited to 'rc/bin/psfax')
-rwxr-xr-xrc/bin/psfax4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc/bin/psfax b/rc/bin/psfax
index 654f53bfe..d9d197b4a 100755
--- a/rc/bin/psfax
+++ b/rc/bin/psfax
@@ -10,8 +10,8 @@ case -v
switch($#*){
case 0 1
- echo usage: $0 telephone-number recipient '[files]'
- exit 0
+ echo usage: $0 telephone-number recipient '[files]' >[1=2]
+ exit usage
case 2
stdin=yes
}