aboutsummaryrefslogtreecommitdiff
path: root/bin/pre
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/pre
parentbin/player: Add working utility (diff)
downloaddotfiles-a2324725adab4fda610d39eb21d8d28bdf8f35ba.tar.gz
dotfiles-a2324725adab4fda610d39eb21d8d28bdf8f35ba.tar.xz
bin/: Add examples to help strings
Diffstat (limited to 'bin/pre')
-rwxr-xr-xbin/pre14
1 files changed, 14 insertions, 0 deletions
diff --git a/bin/pre b/bin/pre
index 79c212f..2b32f8f 100755
--- a/bin/pre
+++ b/bin/pre
@@ -15,6 +15,20 @@ help() {
Options:
-c COLOR ANSI color to be used on the prefix text
-h, --help show this message
+
+ Prefix STDIN with PREFIX.
+
+
+ Examples:
+
+ Prefix with 'database':
+
+ $ ./run-db.sh | pre 'database'
+
+
+ Prefix with yellow 'numbers':
+
+ $ seq 10 | pre -c yellow numbers
EOF
}