aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs8
1 files changed, 4 insertions, 4 deletions
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 <c1,c2,c3,...> Sequences colors on the X-axis
-G --gradient <c1,c2,c3,...> Interpolates the colors on the X-axis
- <PATTERN> <TRANSFORM> Apply TRANSFORM to PATTERN
+ <PATTERN> <TRANSFORM>
<PRESET>
TRANSFORM:
@@ -78,7 +78,7 @@ fn main() -> Result<()> {
])),
}
}
-
+
/* PATTERNS */
"-R" | "--rainbow" => pat = box Extend(box Rainbow),
"-S" | "--sequence" => {