"add",
"add-cdrom",
"cdrom",
+ "add-drive-ro",
+ "add-ro",
"config",
"set-qemu",
"qemu",
"resize2fs",
"find",
"e2fsck-f",
+ "sleep",
+ "ntfs-3g-probe",
NULL
};
len = strlen (text);
}
+ rl_attempted_completion_over = 1;
+
while ((name = commands[index]) != NULL) {
index++;
if (strncasecmp (name, text, len) == 0)
char **matches = NULL;
#ifdef HAVE_LIBREADLINE
+ rl_completion_append_character = ' ';
+
if (start == 0)
matches = rl_completion_matches (text, generator);
+ else if (complete_dest_paths)
+ matches = rl_completion_matches (text, complete_dest_paths_generator);
#endif
return matches;