Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/games/wtf Just print basename in usage string.



details:   https://anonhg.NetBSD.org/src/rev/bf835efe1039
branches:  trunk
changeset: 499478:bf835efe1039
user:      soren <soren%NetBSD.org@localhost>
date:      Tue Nov 21 00:18:52 2000 +0000

description:
Just print basename in usage string.

diffstat:

 games/wtf/wtf |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 636c1f73fd63 -r bf835efe1039 games/wtf/wtf
--- a/games/wtf/wtf     Tue Nov 21 00:18:03 2000 +0000
+++ b/games/wtf/wtf     Tue Nov 21 00:18:52 2000 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-#      $NetBSD: wtf,v 1.6 1999/11/15 19:14:01 hubertf Exp $
+#      $NetBSD: wtf,v 1.7 2000/11/21 00:18:52 soren Exp $
 #
 # Public domain
 #
@@ -12,7 +12,7 @@
 fi
 
 if [ $# -lt 1 ] ; then
-       echo "Usage: $0 [is] <acronym>"
+       echo "Usage: `basename $0` [is] <acronym>"
 fi
 
 rv=0



Home | Main Index | Thread Index | Old Index