From 2a6d0ccfb0739812d8687ed22f26e23c06dfb95e Mon Sep 17 00:00:00 2001 From: Daniele Kruse <dkruse@cern.ch> Date: Thu, 21 Jan 2016 16:57:52 +0100 Subject: [PATCH] Small typo correction --- xroot_plugins/XrdCtaFile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xroot_plugins/XrdCtaFile.cpp b/xroot_plugins/XrdCtaFile.cpp index 96f3c19e3b..e4f7ae8760 100644 --- a/xroot_plugins/XrdCtaFile.cpp +++ b/xroot_plugins/XrdCtaFile.cpp @@ -1333,8 +1333,8 @@ void XrdProFile::xCom_liststorageclass(const std::vector<std::string> &tokens, c //------------------------------------------------------------------------------ void XrdProFile::xCom_updatefileinfo(const std::vector<std::string> &tokens, const cta::SecurityIdentity &requester) { std::stringstream help; - help << tokens[0] << " ufi/updatefileinfo [--noencoding/-n] <CTA_ArchiveFileID> <storage_class> <dst_URL> <DR_instance> <DR_path> <DR_owner> <DR_group> <DR_blob>" << std::endl; - if((hasOption(tokens, "-n", "--noencoding") && tokens.size()!=11) || (!hasOption(tokens, "-n", "--noencoding") && tokens.size()!=10)){ + help << tokens[0] << " ufi/updatefileinfo [--noencoding/-n] <CTA_ArchiveFileID> <storage_class> <DR_instance> <DR_path> <DR_owner> <DR_group> <DR_blob>" << std::endl; + if((hasOption(tokens, "-n", "--noencoding") && tokens.size()!=10) || (!hasOption(tokens, "-n", "--noencoding") && tokens.size()!=9)){ m_data = help.str(); return; } -- GitLab