X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=fish%2Fcmds.c;h=46d673697314d9153fe622488e5bb283ff90e0c8;hp=b94b322a2d43b6042c0f093d15c915dcdf00f80c;hb=0574eab8bc7d8e72db862ec36815835938a5fdf1;hpb=8228eec99045ae720d8ef35851aa8c278f6b4e5c diff --git a/fish/cmds.c b/fish/cmds.c index b94b322..46d6736 100644 --- a/fish/cmds.c +++ b/fish/cmds.c @@ -108,6 +108,7 @@ void list_commands (void) printf ("%-20s %s\n", "lvs-full", "list the LVM logical volumes (LVs)"); printf ("%-20s %s\n", "mkdir", "create a directory"); printf ("%-20s %s\n", "mkdir-p", "create a directory and parents"); + printf ("%-20s %s\n", "mkdtemp", "create a temporary directory"); printf ("%-20s %s\n", "mkfs", "make a filesystem"); printf ("%-20s %s\n", "mount", "mount a guest disk at a position in the filesystem"); printf ("%-20s %s\n", "mount-options", "mount a guest disk with mount options"); @@ -584,6 +585,9 @@ void display_command (const char *cmd) if (strcasecmp (cmd, "scrub_freespace") == 0 || strcasecmp (cmd, "scrub-freespace") == 0) pod2text ("scrub-freespace - scrub (securely wipe) free space", " scrub-freespace \n\nThis command creates the directory C and then fills it\nwith files until the filesystem is full, and scrubs the files\nas for C, and deletes them.\nThe intention is to scrub any free space on the partition\ncontaining C.\n\nIt is an interface to the L program. See that\nmanual page for more details."); else + if (strcasecmp (cmd, "mkdtemp") == 0) + pod2text ("mkdtemp - create a temporary directory", " mkdtemp