aboutsummaryrefslogtreecommitdiff
path: root/toolchain_utils_githooks/check-style
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain_utils_githooks/check-style')
-rwxr-xr-xtoolchain_utils_githooks/check-style5
1 files changed, 2 insertions, 3 deletions
diff --git a/toolchain_utils_githooks/check-style b/toolchain_utils_githooks/check-style
index 7178ad49..0ce11877 100755
--- a/toolchain_utils_githooks/check-style
+++ b/toolchain_utils_githooks/check-style
@@ -7,9 +7,8 @@
# interleaving output/etc.
if [[ $# -eq 0 ]]; then
- echo "No files were given to check the format of." >&2
- echo "Usage: $0 file1 file2 ..." >&2
- exit 1
+ echo "No files were given to check the style of. Exiting." >&2
+ exit
fi
mydir="$(dirname "$(readlink -m "$0")")"