Commit e342c4f5 authored by Daniele Kruse's avatar Daniele Kruse
Browse files

missing condition in the CLI

parent dbf55d8c
......@@ -1527,7 +1527,7 @@ void XrdProFile::xCom_archivefile(const std::vector<std::string> &tokens, const
std::string path = getOptionValue(tokens, "-p", "--path");
bool summary = hasOption(tokens, "-S", "--summary");
bool all = hasOption(tokens, "-a", "--all");
if(!all && (id.empty() && copynb.empty() && tapepool.empty() && vid.empty() && owner.empty() && group.empty() && storageclass.empty() && path.empty())) {
if(!all && (id.empty() && eosid.empty() && copynb.empty() && tapepool.empty() && vid.empty() && owner.empty() && group.empty() && storageclass.empty() && path.empty())) {
m_data = help.str();
return;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment