summaryrefslogtreecommitdiffstats
path: root/usr.bin/mkdep
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mkdep')
-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 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
OpenPOWER on IntegriCloud