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
commitd385578a0e719dc19758dbdef4ca862726ce22a7 (patch)
tree1f85cebcfcf4cccd1d54c4f39899285edd454262 /tools
parent78c0028dbb79b03bcb0d700133245433b0dac3d1 (diff)
downloadydb-d385578a0e719dc19758dbdef4ca862726ce22a7.tar.gz
Restoring authorship annotation for <steplg@yandex-team.ru>. Commit 1 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 6cda54c1ea..0757f02367 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);