diff options
Diffstat (limited to '')
| -rwxr-xr-x | bin/color | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -12,15 +12,31 @@ usage() { help() { cat <<-'EOF' - Options: -c COLOR -h, --help show this message + Print the given text with a color. + The available colors are: EOF list_colors | sed 's/^/ /' + + cat <<-'EOF' + + Examples: + + Print "banana" in yellow: + + $ color -c yellow 'banana' + banana + + Print "grass" in green, with a newline: + + $ color -c green 'grass\n' + grass + EOF } |
