fish: Make '-x' option enable traces instead of using separate echo path.
authorRichard Jones <rjones@redhat.com>
Sat, 8 May 2010 08:04:28 +0000 (09:04 +0100)
committerRichard Jones <rjones@redhat.com>
Fri, 14 May 2010 16:22:53 +0000 (17:22 +0100)
commit9ef4d50bc49bd8443937cc972711320488239a24
tree6824b4e7beaa0939d2a82952292749d4e3ffb659
parent3f3d881dc339888784bd4c30228cbb25daaf0e5d
fish: Make '-x' option enable traces instead of using separate echo path.

Previously we had separate code paths for echoing commands (-x)
and tracing (guestfs_set_trace).  This just unifies that so that
the guestfish -x option enables tracing.

(cherry picked from commit 8e007581c91a5193e6aec0f6f9aeb379a935c9d4
and commit a96d70113ffcd01f55262c3d0fbe711bee759fec
and commit 87eecb507ee09a62f3a12f5f75d3417a09c0c8d4 which are all
logically part of the same fix)
fish/fish.c
fish/reopen.c