Skip to content

Commit

Permalink
OrcCommand: add missing usage option 'Compression'
Browse files Browse the repository at this point in the history
  • Loading branch information
fabienfl-orc committed Nov 12, 2020
1 parent b0b6903 commit dbb45b8
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/OrcCommand/DD_Output.cpp
Expand Up @@ -50,7 +50,8 @@ void Main::PrintUsage()

Usage::PrintOutputParameters(usageNode);

Usage::PrintMiscellaneousParameters(usageNode);
constexpr std::array kCustomMiscParameters = {Usage::kMiscParameterCompression};
Usage::PrintMiscellaneousParameters(usageNode, kCustomMiscParameters);

Usage::PrintLoggingParameters(usageNode);
}
Expand Down
4 changes: 3 additions & 1 deletion src/OrcCommand/FastFind_Output.cpp
Expand Up @@ -54,7 +54,9 @@ void Main::PrintUsage()
Usage::PrintLocationParameters(usageNode);

Usage::PrintLoggingParameters(usageNode);
Usage::PrintMiscellaneousParameters(usageNode);

constexpr std::array kCustomMiscParameters = {Usage::kMiscParameterCompression};
Usage::PrintMiscellaneousParameters(usageNode, kCustomMiscParameters);
}

void Main::PrintParameters()
Expand Down
3 changes: 2 additions & 1 deletion src/OrcCommand/FatInfo_Output.cpp
Expand Up @@ -44,7 +44,8 @@ void Main::PrintUsage()

{
constexpr std::array kCustomMiscParameters = {
Usage::kMiscParameterComputer, Usage::kMiscParameterResurrectRecords};
Usage::kMiscParameterComputer, Usage::kMiscParameterResurrectRecords, Usage::kMiscParameterCompression};

Usage::PrintMiscellaneousParameters(usageNode, kCustomMiscParameters);
}

Expand Down
5 changes: 4 additions & 1 deletion src/OrcCommand/GetSectors_Output.cpp
Expand Up @@ -52,7 +52,10 @@ void Main::PrintUsage()
"The tool does not try to obtain a low interface on the disk device using the setupAPI functions"}};

Usage::PrintParameters(usageNode, "PARAMETERS", kSpecificParameters);
Usage::PrintMiscellaneousParameters(usageNode);

constexpr std::array kCustomMiscParameters = {Usage::kMiscParameterCompression};
Usage::PrintMiscellaneousParameters(usageNode, kCustomMiscParameters);

Usage::PrintLoggingParameters(usageNode);
}

Expand Down

0 comments on commit dbb45b8

Please sign in to comment.