aboutsummaryrefslogtreecommitdiff
path: root/bin/qr
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-08-13 13:17:45 -0300
committerEuAndreh <eu@euandre.org>2022-08-13 13:17:45 -0300
commita2324725adab4fda610d39eb21d8d28bdf8f35ba (patch)
treeb8d770e51d7e0703020cfd6862e890b717bcb23e /bin/qr
parentbin/player: Add working utility (diff)
downloaddotfiles-a2324725adab4fda610d39eb21d8d28bdf8f35ba.tar.gz
dotfiles-a2324725adab4fda610d39eb21d8d28bdf8f35ba.tar.xz
bin/: Add examples to help strings
Diffstat (limited to 'bin/qr')
-rwxr-xr-xbin/qr13
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/qr b/bin/qr
index 4821a46..c0462e1 100755
--- a/bin/qr
+++ b/bin/qr
@@ -16,7 +16,20 @@ help() {
-s PIXEL_SIZE size of the pixel (default 10)
-h, --help show this help message
+
Read data from STDIN and present a QR image with said data.
+
+
+ Examples:
+
+ Link to my homepage:
+
+ $ printf 'https://euandre.org' | qr
+
+
+ Numbers with a smaller pixel size:
+
+ $ seq 99 | qr -s 5
EOF
}