From: Harald Hoyer <har...@redhat.com>

This patch series improves the argument handling of journalctl.
It ANDs all parameter like "-b" "--unit=" "-p" and multiple "--unit=" can be 
specified.

The output of:

# journalctl -u sshd.service -u crond.service -u sshd.service -b -p 0..7

is now, what you would expect it to be.


Harald Hoyer (2):
  journal: add one more level on top with AND
  journalctl: specify "--unit=" and "--user-unit" multiple times

 man/journalctl.xml               |  6 ++-
 src/journal/journal-internal.h   |  2 +-
 src/journal/journalctl.c         | 68 ++++++++++++++++++++++++----------
 src/journal/sd-journal.c         | 80 ++++++++++++++++++++++++++--------------
 src/journal/test-journal-match.c | 16 +++++++-
 src/systemd/sd-journal.h         |  1 +
 6 files changed, 122 insertions(+), 51 deletions(-)

-- 
1.8.2

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to