From ea581aab772aaf676ec1546aed70619463a5613d Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Fri, 7 Oct 2016 14:35:58 +0100 Subject: apply-pullreq: Fix message about add-merge-remote If apply-pullreq is run with a remote that isn't in the git repo it prints a helpful message suggesting that the user runs add-merge-remote. Fix a typo in the help message that meant we were printing a blank string where the "REMOTENAME" argument placeholder should be. Signed-off-by: Peter Maydell --- apply-pullreq | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apply-pullreq b/apply-pullreq index 08a3c48..0abab0c 100755 --- a/apply-pullreq +++ b/apply-pullreq @@ -64,7 +64,7 @@ REMOTENAME="$(git remote -v | grep -F "$FGREPARG" | cut -f1)" if [ -z "$REMOTENAME" ]; then echo "Unknown remote $REMOTEURL: add manually via" - echo "add-merge-remote $REMOTENAME $REMOTEURL" + echo "add-merge-remote REMOTENAME $REMOTEURL" exit 1 fi -- cgit v1.2.3