Escape fix in help

This commit is contained in:
Bandie 2018-09-14 23:19:43 +02:00
parent 4b3f8eb984
commit bd63f90887
Signed by: Bandie
GPG Key ID: C1E133BC65A822DD
1 changed files with 3 additions and 3 deletions

View File

@ -13,11 +13,11 @@ function helpme() {
echo -e "\nExample:" echo -e "\nExample:"
echo -e "# $0 [ Jabber ID ] [ Device ID ] \"[ Fingerprint ]\" [ filename.png or \"qr\" or \"stdout\" ] " 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 "# 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 "# 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 "# 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() { function gen() {