Skip to content

Commit

Permalink
[XrdClient] Add deprecaton note to the old client binaries.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Apr 6, 2018
1 parent 3ea6116 commit e341f47
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/XrdApps/XrdCpy.cc
Expand Up @@ -1458,6 +1458,10 @@ int doCp(XrdOucString &src, XrdOucString &dest, XrdClient *xrddest)

int main(int argc, char**argv)
{
std::cerr << "Note: this tool is DEPRECATED, use xrdcp instead." << std::endl;
Info(XrdClientDebug::kUSERDEBUG, "Main",
"Note: this tool is DEPRECATED, use xrdcp instead.");

const char *Opaque;
char *hName, *srcpath = 0, *destpath = 0;

Expand Down
4 changes: 4 additions & 0 deletions src/XrdClient/XrdCommandLine.cc
Expand Up @@ -1785,6 +1785,10 @@ int main(int argc, char**argv)

DebugSetLevel(0);

std::cerr << "Note: this tool is DEPRECATED, use xrdfs instead." << std::endl;
Info(XrdClientDebug::kUSERDEBUG, "Main",
"Note: this tool is DEPRECATED, use xrdfs instead.");

// We want this tool to be able to connect everywhere
// Note that the side effect of these calls here is to initialize the
// XrdClient environment.
Expand Down

0 comments on commit e341f47

Please sign in to comment.