[英]Qrencode: ignore option flags in a string
I have a PGP key stored as a string, and I'm trying to create a QR code of it. 我有一个存储为字符串的PGP密钥,并且正在尝试为其创建QR码。
qrencode -o qrcode.png "$thestring"
qrencode -o qrcode.png“ $ thestring”
But my output is: 但是我的输出是:
qrencode: unrecognized option '-----BEGIN'
qrencode:无法识别的选项'----- BEGIN'
How do I force qrencode to just treat the dashes as a string? 如何强制qrencode将破折号视为字符串?
Prepend the string with whitespace is a workaround. 在字符串前面加上空格是一种解决方法。 However, the PGP key will be too long for qrencode, so it's pointless anyways.
但是,PGP密钥对于qrencode来说太长了,因此它毫无意义。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.