cmdline/pull: Print final status even if noninteractive
authorColin Walters <walters@verbum.org>
Thu, 29 Jun 2017 14:23:32 +0000 (10:23 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 29 Jun 2017 16:16:25 +0000 (16:16 +0000)
commit1a9a473580e9066f5d4a969932d703b5b104b2b7
tree79fa76a74e320f87ba9463b7c347312b2a7f5570
parent90e0d5633244ad818eb40473d1d6f2d50cbd8c14
cmdline/pull: Print final status even if noninteractive

Previously, `ostree pull` was silent if not on a tty.  I don't
see a reason not to print the final status line at least.  This
is prep for more work in the test suite, so I can write assertions
on the output.

But it should also be nicer for people who e.g. do an `ostree pull` in a Jenkins
job or whatever.

Closes: #981
Approved by: jlebon
src/ostree/ot-builtin-pull.c
tests/pull-test.sh