# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-if [[ -z "${@}" ]]; then
+if [[ -z "$@" || "$1" == "-h" || "$1" == "--help" ]]; then
echo >&2 "Usage: `basename $0` <paths_to_clang_format...>"
exit 1
fi