From 6ce30cc809e6066b92fccb99738585ece8cc81fc Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Fri, 11 Mar 2005 17:45:59 +0000 Subject: [PATCH] Made xcp the default cp/copy command. The code for it is still there, for it is also used in other tests. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11681 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/tests/add-ons/kernel/file_systems/fs_shell/fsh.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/tests/add-ons/kernel/file_systems/fs_shell/fsh.cpp b/src/tests/add-ons/kernel/file_systems/fs_shell/fsh.cpp index 0a14b545fa..72e8b4637e 100644 --- a/src/tests/add-ons/kernel/file_systems/fs_shell/fsh.cpp +++ b/src/tests/add-ons/kernel/file_systems/fs_shell/fsh.cpp @@ -1996,8 +1996,8 @@ static cmd_entry builtin_commands[] = { "rm", do_rm, "remove the named file" }, { "rmall", do_rmall, "remove all the files. if no dirname, use '.'" }, { "rmdir", do_rmdir, "remove the named directory" }, - { "cp", do_copy, "copy a file to/from myfs. prefix a ':' for host filenames" }, - { "copy", do_copy, "same as cp" }, + { "cp", do_xcp, "similar to shell cp, can copy in, out, within, and outside the FS, supports attributes." }, + { "copy", do_xcp, "same as cp" }, { "trunc", do_trunc, "truncate a file to the size specified" }, { "seek", do_seek, "seek to the position specified" }, { "mv", do_rename, "rename a file or directory" }, @@ -2024,7 +2024,6 @@ static cmd_entry builtin_commands[] = { "stattest", do_stattest, "does an \"early\"/\"late\" stat test for files that are created or deleted" }, { "link", do_link, "creates the specified [sym]link on the device" }, { "ln", do_link, "creates the specified [sym]link on the device" }, - { "xcp", do_xcp, "similar to shell cp, can copy in, out, within, and outside the FS, supports attributes." }, { NULL, NULL } };