mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-30 15:38:06 +01:00
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).
This commit is contained in:
parent
cc5625f0ed
commit
30c218bf14
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22641
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user