diff --git a/pages/common/qr.md b/pages/common/qr.md index 804729702c..f97fd0a453 100644 --- a/pages/common/qr.md +++ b/pages/common/qr.md @@ -5,8 +5,16 @@ - Generate a QR code: -`echo "{{data}}" | qr` +`qr "{{data}}"` -- Specify the error correction level (defaults to M): +- Specify the error correction level (defaults to `M`): -`echo "{{data}}" | qr --error-correction={{L|M|Q|H}}` +`qr --error-correction {{L|M|Q|H}} "{{data}}"` + +- Generate a QR code from the output of another command: + +`{{command}} | qr` + +- Save the QR code as a PNG image: + +`qr "{{data}}" > {{path/to/file.png}}`