summaryrefslogtreecommitdiff
path: root/rc/bin/ape/ln
diff options
context:
space:
mode:
authorqwx <qwx@sciops.net>2022-05-10 20:47:26 +0000
committerqwx <qwx@sciops.net>2022-05-10 20:47:26 +0000
commit3cf83fa259b70ab6289b9106c04da7c27d4b34d1 (patch)
treed3e2acb1b834b3e5358de30436a4a8f37c0ac57a /rc/bin/ape/ln
parent6ca8e6bbafcc871301a90aa7bd4ca10533b1999a (diff)
/rc/bin: amend usage misdirections (thanks umbraticus)
Diffstat (limited to 'rc/bin/ape/ln')
-rwxr-xr-xrc/bin/ape/ln4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc/bin/ape/ln b/rc/bin/ape/ln
index bb5da4a44..a66231514 100755
--- a/rc/bin/ape/ln
+++ b/rc/bin/ape/ln
@@ -9,14 +9,14 @@ while(! ~ $#* 0 && ~ $1 -*){
case -s
;
case *
- echo 'usage: ln [-s] [-f] source destination' >[2=1]
+ echo 'usage: ln [-s] [-f] source destination' >[1=2]
exit 'usage'
}
shift
}
if(~ $force n && test -e $2){
- echo ln: $2 destination exists >[2=1]
+ echo ln: $2 destination exists >[1=2]
exit 'usage'
}