Escape fix in help
This commit is contained in:
parent
4b3f8eb984
commit
bd63f90887
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user