Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a few --compression options #13717

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Framework/AODMerger/src/aodMerger.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ int main(int argc, char* argv[])
{"max-size", required_argument, nullptr, 2},
{"skip-non-existing-files", no_argument, nullptr, 3},
{"skip-parent-files-list", no_argument, nullptr, 4},
{"compression", no_argument, nullptr, 5},
{"compression", required_argument, nullptr, 5},
{"verbosity", required_argument, nullptr, 'v'},
{"help", no_argument, nullptr, 'h'},
{nullptr, 0, nullptr, 0}};
Expand Down
2 changes: 1 addition & 1 deletion Framework/AODMerger/src/aodStrainer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ int main(int argc, char* argv[])
} else if (c == 4) {
downsampling = atof(optarg);
} else if (c == 5) {
compression = atof(optarg);
compression = atoi(optarg);
} else if (c == 'h') {
printf("AO2D strainer tool. Options: \n");
printf(" --input <%s> Contains path to files to be merged. Default: %s\n", inputAO2D.c_str(), inputAO2D.c_str());
Expand Down
2 changes: 1 addition & 1 deletion Framework/AODMerger/src/aodThinner.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ int main(int argc, char* argv[])
{"input", required_argument, nullptr, 'i'},
{"output", required_argument, nullptr, 'o'},
{"overwrite", no_argument, nullptr, 'O'},
{"compression", no_argument, nullptr, 'c'},
{"compression", required_argument, nullptr, 'c'},
{"help", no_argument, nullptr, 'h'},
{nullptr, 0, nullptr, 0}};

Expand Down
Loading