aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README12
1 files changed, 12 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..28d3dc5
--- /dev/null
+++ b/README
@@ -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