generator: Fix documentation for 'is-file' command.
authorRichard Jones <rjones@redhat.com>
Thu, 9 Sep 2010 21:42:26 +0000 (22:42 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Sat, 23 Oct 2010 14:09:42 +0000 (15:09 +0100)
(cherry picked from commit 22aa9268f548eab9763311a080859d8cf2257a93)

src/generator.ml

index 9555698..c81eb8b 100755 (executable)
@@ -1435,9 +1435,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.