Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-27 00:21:02 +00:00
parent 47db9e503e
commit 5bf37ece1a
136 changed files with 315 additions and 144 deletions

14
tldr/qr
View File

@@ -10,8 +10,16 @@ source: https://github.com/tldr-pages/tldr.git
- 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}}`