aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2025-07-04 10:47:24 -0700
committerRose Hogenson <rosehogenson@posteo.net>2025-07-04 10:47:24 -0700
commit1d9f7d2fe88deecf958e0199b9d669328a717c17 (patch)
tree9c4f36d57d383be1425f58ab92b1f4f5f64fcf58 /README.md
parentb0454e1de6ff0cf310b3acb599a7d42d7a079423 (diff)
downloadhi-1d9f7d2fe88deecf958e0199b9d669328a717c17.tar.zst
Better documentation
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..28d3dc5
--- /dev/null
+++ b/README.md
@@ -0,0 +1,12 @@
+Usage: hi [OPTION]... REGEXP
+Highlight lines from standard input using the given regexp.
+
+ -bg color
+ background color default|black|red|green|yellow|blue|magenta|cyan|white (default default)
+ -c color
+ highlight color black|red|green|yellow|blue|magenta|cyan|white (default red)
+
+Examples:
+ echo 1\n2\n3 | hi ^2
+
+ journalctl | hi -bg cyan (E|e)rror | less