rpm-ostree/man
Jonathan Lebon cdd3227f70 app/db-diff: assume booted deployment if less args
Very often when I have a pending deployment, I just want to find out
what the diff is before rebooting. We do print it after whatever
transaction laid down the new deployment, though we may not reboot right
away. It seems like a common enough operation to warrant some shortcuts.

This makes `db diff` more useful by automatically subbing in the booted
deployment if less arguments are given:

    rpm-ostree db diff
      <diff booted and pending deployment>
    rpm-ostree db diff $csum
      <diff booted and $csum>
    rpm-ostree db diff $csum1 $csum2
      <as before, diff $csum1 and $csum2>

As before, we never try to even load the sysroot in the last invocation,
so it still works equally well on non-OSTree systems/unprivileged.

Closes: #1294
Approved by: cgwalters
2018-03-08 17:30:42 +00:00
..
rpm-ostree.xml app/db-diff: assume booted deployment if less args 2018-03-08 17:30:42 +00:00
rpm-ostreed-automatic.xml man: Add rpm-ostreed-automatic page 2018-03-07 22:54:33 +00:00
rpm-ostreed.conf.xml man: Add rpm-ostreed-automatic page 2018-03-07 22:54:33 +00:00