X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=fish%2Fcompletion.c;h=264c5840dc97ad481b8c67b32df4e0ad9d38fba0;hp=a346ccbb800655ce2308b2f0e099fce63de4edc3;hb=460d139e6a52da67a4f1947035b1978610349f78;hpb=ef499de8946cf4b8120ef7917b2e5d7f9115041f diff --git a/fish/completion.c b/fish/completion.c index a346ccb..264c584 100644 --- a/fish/completion.c +++ b/fish/completion.c @@ -33,96 +33,150 @@ #ifdef HAVE_LIBREADLINE -static const char *commands[] = { +static const char *const commands[] = { + BUILTIN_COMMANDS_FOR_COMPLETION, + "launch", + "run", + "kill-subprocess", + "add-drive", "add", "add-cdrom", - "add-drive", - "aug-close", - "aug-defnode", - "aug-defvar", - "aug-get", - "aug-init", - "aug-insert", - "aug-load", - "aug-ls", - "aug-match", - "aug-mv", - "aug-rm", - "aug-save", - "aug-set", - "autosync", - "blockdev-flushbufs", - "blockdev-getbsz", - "blockdev-getro", - "blockdev-getsize64", - "blockdev-getss", - "blockdev-getsz", - "blockdev-rereadpt", - "blockdev-setbsz", - "blockdev-setro", - "blockdev-setrw", - "cat", "cdrom", - "chmod", - "chown", - "command", - "command-lines", + "add-drive-ro", + "add-ro", "config", - "exists", - "file", - "get-autosync", + "set-qemu", + "qemu", + "get-qemu", + "set-path", + "path", "get-path", - "get-state", + "set-append", + "append", + "get-append", + "set-autosync", + "autosync", + "get-autosync", + "set-verbose", + "verbose", "get-verbose", - "is-busy", + "is-ready", "is-config", - "is-dir", - "is-file", "is-launching", - "is-ready", - "kill-subprocess", - "launch", - "list-devices", - "list-partitions", + "is-busy", + "get-state", + "mount", + "sync", + "touch", + "cat", "ll", "ls", - "lstat", - "lvcreate", - "lvm-remove-all", - "lvs", - "lvs-full", - "mkdir", - "mkdir-p", - "mkfs", - "mount", - "mounts", - "path", - "pvcreate", + "list-devices", + "list-partitions", "pvs", + "vgs", + "lvs", "pvs-full", + "vgs-full", + "lvs-full", "read-lines", + "aug-init", + "aug-close", + "aug-defvar", + "aug-defnode", + "aug-get", + "aug-set", + "aug-insert", + "aug-rm", + "aug-mv", + "aug-match", + "aug-save", + "aug-load", + "aug-ls", "rm", - "rm-rf", "rmdir", - "run", - "set-autosync", - "set-path", - "set-verbose", + "rm-rf", + "mkdir", + "mkdir-p", + "chmod", + "chown", + "exists", + "is-file", + "is-dir", + "pvcreate", + "vgcreate", + "lvcreate", + "mkfs", "sfdisk", - "stat", - "statvfs", - "sync", - "touch", - "tune2fs-l", + "write-file", "umount", - "umount-all", "unmount", + "mounts", + "umount-all", "unmount-all", - "verbose", - "vgcreate", - "vgs", - "vgs-full", - "write-file", + "lvm-remove-all", + "file", + "command", + "command-lines", + "stat", + "lstat", + "statvfs", + "tune2fs-l", + "blockdev-setro", + "blockdev-setrw", + "blockdev-getro", + "blockdev-getss", + "blockdev-getbsz", + "blockdev-setbsz", + "blockdev-getsz", + "blockdev-getsize64", + "blockdev-flushbufs", + "blockdev-rereadpt", + "upload", + "download", + "checksum", + "tar-in", + "tar-out", + "tgz-in", + "tgz-out", + "mount-ro", + "mount-options", + "mount-vfs", + "debug", + "lvremove", + "vgremove", + "pvremove", + "set-e2label", + "get-e2label", + "set-e2uuid", + "get-e2uuid", + "fsck", + "zero", + "grub-install", + "cp", + "cp-a", + "mv", + "drop-caches", + "dmesg", + "ping-daemon", + "equal", + "strings", + "strings-e", + "hexdump", + "zerofree", + "pvresize", + "sfdisk-N", + "sfdisk-l", + "sfdisk-kernel-geometry", + "sfdisk-disk-geometry", + "vg-activate-all", + "vg-activate", + "lvresize", + "resize2fs", + "find", + "e2fsck-f", + "sleep", + "ntfs-3g-probe", NULL };