1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 22:42:09 +02:00

qr: add page (#3769)

* qr: add page

* Update qr.md
This commit is contained in:
Starbeamrainbowlabs 2020-01-20 20:58:38 +00:00 committed by Zlatan Vasović
parent abe0abda67
commit 7916181b6e

12
pages/common/qr.md Normal file
View file

@ -0,0 +1,12 @@
# qr
> Generate QR codes in the terminal with ANSI VT-100 escape codes.
> More information: <https://github.com/lincolnloop/python-qrcode/>.
- Generate a QR code:
`echo "{{data}}" | qr`
- Specify the error correction level (defaults to M):
`echo "{{data}}" | qr --error-correction={{L|M|Q|H}}`