fish: Add MD devices to guestfish device autocompletion.
authorMatthew Booth <mbooth@redhat.com>
Mon, 21 Nov 2011 15:23:18 +0000 (15:23 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 21 Nov 2011 15:23:18 +0000 (15:23 +0000)
fish/destpaths.c

index c7b9dc5..f3cf0f2 100644 (file)
@@ -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] == '/') {