aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorsteplg <steplg@yandex-team.ru>2022-02-10 16:50:54 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:54 +0300
commit18b9863882c0f9638e4a6599acbcdfe6109d5da0 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /tools
parentd385578a0e719dc19758dbdef4ca862726ce22a7 (diff)
downloadydb-18b9863882c0f9638e4a6599acbcdfe6109d5da0.tar.gz
Restoring authorship annotation for <steplg@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'tools')
-rw-r--r--tools/archiver/main.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/archiver/main.cpp b/tools/archiver/main.cpp
index 0757f02367..6cda54c1ea 100644
--- a/tools/archiver/main.cpp
+++ b/tools/archiver/main.cpp
@@ -483,7 +483,7 @@ static void ListArchiveMd5(const TString& archive, bool cutSlash) {
}
}
-int main(int argc, char** argv) {
+int main(int argc, char** argv) {
NLastGetopt::TOpts opts;
opts.AddHelpOption('?');
opts.SetTitle(
@@ -621,18 +621,18 @@ int main(int argc, char** argv) {
off = 2; // skip drive letter ("d:")
#endif // _win_
const size_t pos = path.find(':', off);
- TRec cur;
+ TRec cur;
cur.Path = path.substr(0, pos);
if (pos != TString::npos)
cur.Prefix = path.substr(pos + 1);
if (keys.size())
cur.Key = keys[i];
- cur.Recursive = recursive;
- cur.Fix();
- recs.push_back(cur);
- }
+ cur.Recursive = recursive;
+ cur.Fix();
+ recs.push_back(cur);
+ }
- try {
+ try {
if (listMd5) {
for (const auto& rec: recs) {
ListArchiveMd5(rec.Path, cutSlash);