summaryrefslogtreecommitdiffstats
path: root/fish
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-04-18 13:17:12 +0100
committerRichard Jones <rjones@redhat.com>2009-04-18 13:17:12 +0100
commit1765330e07a48dc6f7bdef7007f69ebe606fa731 (patch)
tree659ce188bbe1a0568fc4b58504c6de025b9b2e3d /fish
parent92804dec7c4982d2039f81586bc4a5cacb46217b (diff)
downloadlibguestfs-1765330e07a48dc6f7bdef7007f69ebe606fa731.tar.gz
libguestfs-1765330e07a48dc6f7bdef7007f69ebe606fa731.tar.xz
libguestfs-1765330e07a48dc6f7bdef7007f69ebe606fa731.zip
Rewrite of main loop impl, start of FileIn/FileOut support.
Diffstat (limited to 'fish')
-rw-r--r--fish/cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fish/cmds.c b/fish/cmds.c
index 8ee72d24..c197ecea 100644
--- a/fish/cmds.c
+++ b/fish/cmds.c
@@ -155,7 +155,7 @@ void display_command (const char *cmd)
pod2text ("touch - update file timestamps or create a new file", " touch <path>\n\nTouch acts like the L<touch(1)> command. It can be used to\nupdate the timestamps on a file, or, if the file does not exist,\nto create a new zero-length file.");
else
if (strcasecmp (cmd, "cat") == 0)
- pod2text ("cat - list the contents of a file", " cat <path>\n\nReturn the contents of the file named C<path>.\n\nNote that this function cannot correctly handle binary files\n(specifically, files containing C<\\0> character which is treated\nas end of string). For those you need to use the C<read_file>\nfunction which has a more complex interface.\n\nBecause of the message protocol, there is a transfer limit \nof somewhere between 2MB and 4MB. To transfer large files you should use\nFTP.");
+ pod2text ("cat - list the contents of a file", " cat <path>\n\nReturn the contents of the file named C<path>.\n\nNote that this function cannot correctly handle binary files\n(specifically, files containing C<\\0> character which is treated\nas end of string). For those you need to use the C<download>\nfunction which has a more complex interface.\n\nBecause of the message protocol, there is a transfer limit \nof somewhere between 2MB and 4MB. To transfer large files you should use\nFTP.");
else
if (strcasecmp (cmd, "ll") == 0)
pod2text ("ll - list the files in a directory (long format)", " ll <directory>\n\nList the files in C<directory> (relative to the root directory,\nthere is no cwd) in the format of 'ls -la'.\n\nThis command is mostly useful for interactive sessions. It\nis I<not> intended that you try to parse the output string.");