Use double-quotes instead of single-quotes when displaying the usage
so that the shell interpolates $0. PR: 17121 Submitted by: Peng HaiJie <phj@cn.FreeBSD.org>
This commit is contained in:
parent
4e86fcacf6
commit
d72d02311f
@ -54,7 +54,7 @@ case "$mode" in
|
||||
uniq -c | sort -nr
|
||||
;;
|
||||
|
||||
*) echo 'usage $0 {-host|-filehits|-user|-userhits} < error.log' >&2
|
||||
*) echo "usage $0 {-host|-filehits|-user|-userhits} < error.log" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user