From 26a7b7196cdf5ee64b886adbaed5bc66a61247ee Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Fri, 22 Jan 2021 10:47:45 -0800 Subject: [PATCH] push-to-pull-request: Use getopt. Signed-off-by: Anders Kaseorg --- tools/push-to-pull-request | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/tools/push-to-pull-request b/tools/push-to-pull-request index 90a30295a7..f1b312e5c0 100755 --- a/tools/push-to-pull-request +++ b/tools/push-to-pull-request @@ -2,8 +2,8 @@ set -e usage() { - cat >&2 <&2 + exit 1 fi if ! jq --version >/dev/null 2>&1; then