Skip to content

Commit 15dcbf6

Browse files
authored
Fix a few --compression options (#13717)
1 parent d6a50f0 commit 15dcbf6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Framework/AODMerger/src/aodMerger.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ int main(int argc, char* argv[])
4848
{"max-size", required_argument, nullptr, 2},
4949
{"skip-non-existing-files", no_argument, nullptr, 3},
5050
{"skip-parent-files-list", no_argument, nullptr, 4},
51-
{"compression", no_argument, nullptr, 5},
51+
{"compression", required_argument, nullptr, 5},
5252
{"verbosity", required_argument, nullptr, 'v'},
5353
{"help", no_argument, nullptr, 'h'},
5454
{nullptr, 0, nullptr, 0}};

Framework/AODMerger/src/aodStrainer.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ int main(int argc, char* argv[])
7171
} else if (c == 4) {
7272
downsampling = atof(optarg);
7373
} else if (c == 5) {
74-
compression = atof(optarg);
74+
compression = atoi(optarg);
7575
} else if (c == 'h') {
7676
printf("AO2D strainer tool. Options: \n");
7777
printf(" --input <%s> Contains path to files to be merged. Default: %s\n", inputAO2D.c_str(), inputAO2D.c_str());

Framework/AODMerger/src/aodThinner.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ int main(int argc, char* argv[])
5151
{"input", required_argument, nullptr, 'i'},
5252
{"output", required_argument, nullptr, 'o'},
5353
{"overwrite", no_argument, nullptr, 'O'},
54-
{"compression", no_argument, nullptr, 'c'},
54+
{"compression", required_argument, nullptr, 'c'},
5555
{"help", no_argument, nullptr, 'h'},
5656
{nullptr, 0, nullptr, 0}};
5757

0 commit comments

Comments
 (0)