From 0c12e308af151314fd90bd97cfe7b27d6e7f9c3d Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Wed, 22 May 2019 18:22:45 +0200 Subject: [PATCH] Document "check-names.sh -v" --- tests/scripts/check-names.sh | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/tests/scripts/check-names.sh b/tests/scripts/check-names.sh index 82ec54a29..90ecfd272 100755 --- a/tests/scripts/check-names.sh +++ b/tests/scripts/check-names.sh @@ -2,15 +2,21 @@ # # This file is part of mbed TLS (https://tls.mbed.org) # -# Copyright (c) 2015-2016, ARM Limited, All Rights Reserved -# -# Purpose -# -# This script confirms that the naming of all symbols and identifiers in mbed -# TLS are consistent with the house style and are also self-consistent. -# +# Copyright (c) 2015-2019, ARM Limited, All Rights Reserved + set -eu +if [ $# -ne 0 ] && [ "$1" = "--help" ]; then + cat </dev/null; then :; else echo "This script requires GNU grep.">&2 exit 1