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 11:11:26 +0000 (12:11 +0100)
(cherry picked from commit 22aa9268f548eab9763311a080859d8cf2257a93)

src/generator.ml

index e5fd335..9ce6541 100755 (executable)
@@ -1424,9 +1424,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.