From 7c43e02591de9b6e14744e3eaffed25ad092756e Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Fri, 25 Mar 2022 16:24:24 +0100 Subject: Improve String_contains_i to allow for multiple terms This enables: * Multiple filters in the main panel and strace etc. views * Multiple search terms The search terms are separated by "|" and are still fixed strings matched case-insensitive. Added a multi flag at request of BenBE. --- htop.1.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'htop.1.in') diff --git a/htop.1.in b/htop.1.in index b51789a2..c298e7cb 100644 --- a/htop.1.in +++ b/htop.1.in @@ -50,7 +50,8 @@ Start in monochrome mode .TP \fB\-F \-\-filter=FILTER -Filter processes by command +Filter processes by terms matching the commands. The terms are matched +case-insensitive and as fixed strings (not regexs). You can separate multiple terms with "|". .TP \fB\-h \-\-help Display a help message and exit @@ -175,6 +176,8 @@ bindings take precedence. Incremental process filtering: type in part of a process command line and only processes whose names match will be shown. To cancel filtering, enter the Filter option again and press Esc. +The matching is done case-insensitive. Terms are fixed strings (no regex). +You can separate multiple terms with "|". .TP .B F5, t Tree view: organize processes by parenthood, and layout the relations -- cgit v1.2.3