diff options
author | 2009-06-12 13:33:29 +0000 | |
---|---|---|
committer | 2009-06-12 13:33:29 +0000 | |
commit | 443dcd37905705f915ca89204401155edce3e149 (patch) | |
tree | 6cd656be923d26612e44c04770892d961829540b | |
parent | add missing header needed by warn() (diff) | |
download | wireguard-openbsd-443dcd37905705f915ca89204401155edce3e149.tar.xz wireguard-openbsd-443dcd37905705f915ca89204401155edce3e149.zip |
remove the directory portion of yyfix's pathname from usage's output.
ok millert@
-rw-r--r-- | usr.bin/yacc/yyfix.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/yacc/yyfix.sh b/usr.bin/yacc/yyfix.sh index 41d3174f24d..5df02e53c14 100644 --- a/usr.bin/yacc/yyfix.sh +++ b/usr.bin/yacc/yyfix.sh @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: yyfix.sh,v 1.2 2003/06/03 02:56:24 millert Exp $ +# $OpenBSD: yyfix.sh,v 1.3 2009/06/12 13:33:29 sobrado Exp $ # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. # @@ -35,7 +35,7 @@ NEWYACC="yylhs yylen yydefred yydgoto yysindex yyrindex yygindex \ yytable yycheck" if [ $# -eq 0 ]; then - echo "usage: $0 file [tables]" >&2 + echo "usage: `basename $0` file [tables]" >&2 exit 1 fi |