From: Thomas Huth Date: Mon, 28 Nov 2022 09:25:51 +0000 (+0100) Subject: scripts/make-release: Add a simple help text for the script X-Git-Tag: qemu-xen-4.18.0-rc5~387^2~16 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=9bd0bcc38579556bf416139f94fae36467d6b77a;p=qemu-xen.git scripts/make-release: Add a simple help text for the script Print a simple help text if the script has been called with the wrong amount of parameters. Message-Id: <20221128092555.37102-2-thuth@redhat.com> Reviewed-by: Alex Bennée Signed-off-by: Thomas Huth --- diff --git a/scripts/make-release b/scripts/make-release index 05b14ecc95..4be9b3b9ce 100755 --- a/scripts/make-release +++ b/scripts/make-release @@ -10,6 +10,12 @@ # This work is licensed under the terms of the GNU GPLv2 or later. # See the COPYING file in the top-level directory. +if [ $# -ne 2 ]; then + echo "Usage:" + echo " $0 gitrepo version" + exit 0 +fi + src="$1" version="$2" destination=qemu-${version}