From 1b70d7d654bef22661cf3184806175fcb17e1bd6 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 5 Jun 2022 15:02:10 +0200 Subject: thing --- src/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index 757b842..d8c4a21 100644 --- a/src/main.rs +++ b/src/main.rs @@ -12,8 +12,8 @@ use std::{ }; static HELP: &str = " -Usage: blubcat PATTERN [FILE]... -Concatenate FILE(s) to standard output, colorizing the output according to OPTION(s). +Usage: blubcat [PATTERN] [FILE]... +Concatenate FILE(s) to standard output, colorizing the output according to PATTERN. With no FILE, or when FILE is -, the standard input is read. If PATTERN is repeated only the last one will be used. @@ -22,7 +22,7 @@ PATTERN: -R --rainbow Rainbow -S --sequence Sequences colors on the X-axis -G --gradient Interpolates the colors on the X-axis - Apply TRANSFORM to PATTERN + TRANSFORM: @@ -78,7 +78,7 @@ fn main() -> Result<()> { ])), } } - + /* PATTERNS */ "-R" | "--rainbow" => pat = box Extend(box Rainbow), "-S" | "--sequence" => { -- cgit v1.2.3-70-g09d2