From 09b85518cb80142edc218c8b0f8ca559a6e1b988 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sun, 27 Apr 2025 00:52:05 +0300 Subject: [PATCH] qr: refresh page (#16266) * Update qr.md * Update qr.md * Update pages/common/qr.md Co-authored-by: Wiktor Perskawiec --------- Co-authored-by: Wiktor Perskawiec --- pages/common/qr.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) 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}}`