aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/mkdep/mkdep.gcc.sh
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-02-13 12:05:12 +0000
committerBruce Evans <bde@FreeBSD.org>1997-02-13 12:05:12 +0000
commit30c218bf14f344b670ab7eb0479688960d35d34a (patch)
treeec6491a0089d1712f5943a893ba6fd382e142190 /usr.bin/mkdep/mkdep.gcc.sh
parentcc5625f0ed8a682e88ea47289ec9d0123bc29b2f (diff)
downloadsrc-30c218bf14f344b670ab7eb0479688960d35d34a.tar.gz
src-30c218bf14f344b670ab7eb0479688960d35d34a.zip
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).
Notes
Notes: svn path=/head/; revision=22641
Diffstat (limited to 'usr.bin/mkdep/mkdep.gcc.sh')
-rw-r--r--usr.bin/mkdep/mkdep.gcc.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mkdep/mkdep.gcc.sh b/usr.bin/mkdep/mkdep.gcc.sh
index d822149c840b..f6a42605cd1d 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