From bd63f908876f48c61e63fea847858b72c6b51171 Mon Sep 17 00:00:00 2001 From: Bandie Date: Fri, 14 Sep 2018 23:19:43 +0200 Subject: [PATCH] Escape fix in help --- src/omemo-qrcode-gen | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/omemo-qrcode-gen b/src/omemo-qrcode-gen index 670cd4c..7291b6c 100755 --- a/src/omemo-qrcode-gen +++ b/src/omemo-qrcode-gen @@ -13,11 +13,11 @@ function helpme() { echo -e "\nExample:" echo -e "# $0 [ Jabber ID ] [ Device ID ] \"[ Fingerprint ]\" [ filename.png or \"qr\" or \"stdout\" ] " echo "# This will use qr to generate the QR code." - echo -e "$0 bandie@example.com 9876543210 "12345678 ABCDEF12 12345678 ABCDEF12 12345678 ABCDEF12 12345678 ABCDEF12" qr" + echo -e "$0 bandie@example.com 9876543210 \"12345678 ABCDEF12 12345678 ABCDEF12 12345678 ABCDEF12 12345678 ABCDEF12\" qr" echo "# This will use qrencode to generate the QR code and will save it into foo.png" - echo -e "$0 bandie@example.com 9876543210 "12345678 ABCDEF12 12345678 ABCDEF12 12345678 ABCDEF12 12345678 ABCDEF12" foo.png" + echo -e "$0 bandie@example.com 9876543210 \"12345678 ABCDEF12 12345678 ABCDEF12 12345678 ABCDEF12 12345678 ABCDEF12\" foo.png" echo "# This will put the string into stdout" - echo -e "$0 bandie@example.com 9876543210 "12345678 ABCDEF12 12345678 ABCDEF12 12345678 ABCDEF12 12345678 ABCDEF12" stdout" + echo -e "$0 bandie@example.com 9876543210 \"12345678 ABCDEF12 12345678 ABCDEF12 12345678 ABCDEF12 12345678 ABCDEF12\" stdout" } function gen() {