diff options
author | Richard Jones <rjones@trick.home.annexia.org> | 2009-08-13 14:39:31 +0100 |
---|---|---|
committer | Richard Jones <rjones@trick.home.annexia.org> | 2009-08-13 14:39:31 +0100 |
commit | 80c479162db74c461d671128237975aecc982a5e (patch) | |
tree | 0d60bf0c3c751986b6d9c1019c78724802ca5385 /src | |
parent | 9beb53ca567147aa2cd03c8e68b11706bc284713 (diff) | |
download | libguestfs-80c479162db74c461d671128237975aecc982a5e.tar.gz libguestfs-80c479162db74c461d671128237975aecc982a5e.tar.xz libguestfs-80c479162db74c461d671128237975aecc982a5e.zip |
cp/cp-a/mv parameters marked as Pathname.
Diffstat (limited to 'src')
-rwxr-xr-x | src/generator.ml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/generator.ml b/src/generator.ml index b4dd4cd5..1278afd9 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -2170,7 +2170,7 @@ See also: C<guestfs_scrub_device>."); This command installs GRUB (the Grand Unified Bootloader) on C<device>, with the root directory being C<root>."); - ("cp", (RErr, [String "src"; String "dest"]), 87, [], + ("cp", (RErr, [Pathname "src"; Pathname "dest"]), 87, [], [InitBasicFS, Always, TestOutput ( [["write_file"; "/old"; "file content"; "0"]; ["cp"; "/old"; "/new"]; @@ -2189,7 +2189,7 @@ C<device>, with the root directory being C<root>."); This copies a file from C<src> to C<dest> where C<dest> is either a destination filename or destination directory."); - ("cp_a", (RErr, [String "src"; String "dest"]), 88, [], + ("cp_a", (RErr, [Pathname "src"; Pathname "dest"]), 88, [], [InitBasicFS, Always, TestOutput ( [["mkdir"; "/olddir"]; ["mkdir"; "/newdir"]; @@ -2201,7 +2201,7 @@ either a destination filename or destination directory."); This copies a file or directory from C<src> to C<dest> recursively using the C<cp -a> command."); - ("mv", (RErr, [String "src"; String "dest"]), 89, [], + ("mv", (RErr, [Pathname "src"; Pathname "dest"]), 89, [], [InitBasicFS, Always, TestOutput ( [["write_file"; "/old"; "file content"; "0"]; ["mv"; "/old"; "/new"]; |