diff options
| author | EuAndreh <eu@euandre.org> | 2022-08-13 13:17:45 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2022-08-13 13:17:45 -0300 |
| commit | a2324725adab4fda610d39eb21d8d28bdf8f35ba (patch) | |
| tree | b8d770e51d7e0703020cfd6862e890b717bcb23e /bin/pre | |
| parent | bin/player: Add working utility (diff) | |
| download | dotfiles-a2324725adab4fda610d39eb21d8d28bdf8f35ba.tar.gz dotfiles-a2324725adab4fda610d39eb21d8d28bdf8f35ba.tar.xz | |
bin/: Add examples to help strings
Diffstat (limited to 'bin/pre')
| -rwxr-xr-x | bin/pre | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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 } |
