chiark / gitweb /
journalctl: allow globbing in --unit and --user-unit
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 29 Dec 2013 00:47:36 +0000 (19:47 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 11 Jan 2014 15:07:22 +0000 (10:07 -0500)
commitea18a4b57e2bb94af7b3ecb7abdaec40e9f485f0
tree796c3bfaffe0687af5ce50d9efeead3cb8290708
parentae97089d49d1795a35a443b7b830ee666028e733
journalctl: allow globbing in --unit and --user-unit

This is a continuation of e3e0314b systemctl: allow globbing in commands
which take multiple unit names.

Multiple patterns can be specified, as separate arguments, or as one argument
with patterns seperated by commas.

If patterns are given, at least one unit must be matched (by any of the patterns).
This is different behaviour than systemctl, but here it is necessary because
otherwise anything would be matched, which is unlikely to be the intended
behaviour.

https://bugs.freedesktop.org/show_bug.cgi?id=59336
man/journalctl.xml
src/journal/journalctl.c