mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
qr: refresh page (#16266)
* Update qr.md * Update qr.md * Update pages/common/qr.md Co-authored-by: Wiktor Perskawiec <git@spageektti.cc> --------- Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
parent
c6543d045c
commit
09b85518cb
1 changed files with 11 additions and 3 deletions
|
@ -5,8 +5,16 @@
|
||||||
|
|
||||||
- Generate a QR code:
|
- 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}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue