From c4e31ca8bcbe6ed9cbdbdee25f66c47c48f4278e Mon Sep 17 00:00:00 2001 From: bde Date: Thu, 13 Feb 1997 12:05:12 +0000 Subject: Print error messages to stderr, not to stdout. Fixed usage message to match reality (-a was missing) and man page (arg names were spelled differently). --- usr.bin/mkdep/mkdep.gcc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/mkdep/mkdep.gcc.sh') diff --git a/usr.bin/mkdep/mkdep.gcc.sh b/usr.bin/mkdep/mkdep.gcc.sh index d822149..f6a4260 100644 --- a/usr.bin/mkdep/mkdep.gcc.sh +++ b/usr.bin/mkdep/mkdep.gcc.sh @@ -63,7 +63,7 @@ while : done case $# in 0) - echo 'usage: mkdep [-p] [-f depend_file] [cc_flags] file ...' + echo 'usage: mkdep [-ap] [-f file] [flags] file ...' >&2 exit 1;; esac @@ -80,7 +80,7 @@ echo "# $@" > $TMP # store arguments for debugging if $MKDEP_CPP -M "$@" >> $TMP; then : else - echo 'mkdep: compile failed.' + echo 'mkdep: compile failed' >&2 exit 1 fi -- cgit v1.1