chiark / gitweb /
journalctl: add --unit=/-u to match by unit name
authorLennart Poettering <lennart@poettering.net>
Tue, 16 Oct 2012 00:59:27 +0000 (02:59 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 16 Oct 2012 00:59:27 +0000 (02:59 +0200)
commitc3f60ec54da2a5d1ba00cec6bb2c282f079aa3f6
treef2fd271d9bb33731dce450b9c97a5a076120daed
parent78fbaacac004f912ec84b6f57d0bc656c3c95439
journalctl: add --unit=/-u to match by unit name

This applies unit_name_mangle() to the specified unit names and hence
can handle weird characters nicely and will add unit suffixes as
necessary.
man/journalctl.xml
src/journal/journalctl.c