summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Booth <mbooth@redhat.com>2011-11-21 15:23:18 +0000
committerRichard W.M. Jones <rjones@redhat.com>2011-11-21 15:23:18 +0000
commit0cdd9444744e7ae0d82fe4c94d13e9ddd00e8e2d (patch)
treeda74a80107a37cae3bd222426aafe609c1fad0fa
parenta7740cb19a6991d21dc9395dffb87d69ee5986b5 (diff)
downloadlibguestfs-0cdd9444744e7ae0d82fe4c94d13e9ddd00e8e2d.tar.gz
libguestfs-0cdd9444744e7ae0d82fe4c94d13e9ddd00e8e2d.tar.xz
libguestfs-0cdd9444744e7ae0d82fe4c94d13e9ddd00e8e2d.zip
fish: Add MD devices to guestfish device autocompletion.
-rw-r--r--fish/destpaths.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fish/destpaths.c b/fish/destpaths.c
index c7b9dc51..f3cf0f2e 100644
--- a/fish/destpaths.c
+++ b/fish/destpaths.c
@@ -158,6 +158,9 @@ complete_dest_paths_generator (const char *text, int state)
strs = guestfs_list_dm_devices (g);
APPEND_STRS_AND_FREE;
+
+ strs = guestfs_list_md_devices (g);
+ APPEND_STRS_AND_FREE;
}
if (len < 1 || text[0] == '/') {