mirror of
https://github.com/troglobit/finit.git
synced 2026-11-14 19:03:16 +00:00
initctl: add optional TYPE argument to 'cond dump' command
Allow filtering of conditions in raw dump, i.e., the possibility to show only conditions of a certain type. The TYPE argument is not validated in any way, so any prefix match is allowed, e.g. initctl cond dump service/s Shows all conditions for services starting with 's'. Fixes issue #272 Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
4a8ca787d3
commit
6286ede985
3 files changed
+10
-4
No files matched your search
+2
-2
@@ -145,8 +145,8 @@ Clear (deassert) user-defined condition,
|
||||
Show condition status, default
|
||||
.Cm cond
|
||||
command.
|
||||
.It Nm Ar cond dump
|
||||
Dump all conditions and their status
|
||||
.It Nm Ar cond dump Op Cm TYPE
|
||||
Dump all, or a given type of, conditions and their status
|
||||
.It Nm Ar ident Op Cm NAME
|
||||
Display indentities of all run/task/services, or only instances
|
||||
matching
|
||||
|
||||
Reference in new issue
Block a user