summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-09-09 22:42:26 +0100
committerRichard Jones <rjones@redhat.com>2010-09-09 22:44:53 +0100
commit22aa9268f548eab9763311a080859d8cf2257a93 (patch)
treef5a96f08c3105ca00057d1cf59217d66a32603bb
parent639ca1828b167bf59353f0cd3c8c79c6289bbd5d (diff)
downloadlibguestfs-22aa9268f548eab9763311a080859d8cf2257a93.tar.gz
libguestfs-22aa9268f548eab9763311a080859d8cf2257a93.tar.xz
libguestfs-22aa9268f548eab9763311a080859d8cf2257a93.zip
generator: Fix documentation for 'is-file' command.
-rwxr-xr-xsrc/generator.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/generator.ml b/src/generator.ml
index 03638deb..c01b512e 100755
--- a/src/generator.ml
+++ b/src/generator.ml
@@ -1812,9 +1812,9 @@ See also C<guestfs_is_file>, C<guestfs_is_dir>, C<guestfs_stat>.");
[["is_file"; "/known-1"]]);
InitISOFS, Always, TestOutputFalse (
[["is_file"; "/directory"]])],
- "test if file exists",
+ "test if a regular file",
"\
-This returns C<true> if and only if there is a file
+This returns C<true> if and only if there is a regular file
with the given C<path> name. Note that it returns false for
other objects like directories.