aboutsummaryrefslogtreecommitdiff
path: root/bin/pre
diff options
context:
space:
mode:
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
}