systemctl: add new --show-transaction switch
authorLennart Poettering <lennart@poettering.net>
Fri, 22 Mar 2019 19:58:13 +0000 (20:58 +0100)
committerThe Plumber <50238977+systemd-rhel-bot@users.noreply.github.com>
Mon, 2 Nov 2020 14:01:00 +0000 (15:01 +0100)
commitcacf7a619cdccd9a6da6c2fe7361eac121b9ea0b
tree79a60aa3924c94a764130c4521a0440bad23f1e2
parentcfb124260a0a9e68102a373c0d136f792e2d4ea7
systemctl: add new --show-transaction switch

This new switch uses the new method call EnqueueUnitJob() for enqueuing
a job and showing the jobs it enqueued.

Fixes: #2297
(cherry picked from commit 85d9b5981ba6b7ee3955f95fa6cf3bb8cdf3444d)

Resolves: #846319
src/systemctl/systemctl.c