@@ -229,66 +229,34 @@ int main(int argc, char** argv) try {
229229 descString += " At least one of the following options must be used: -p, -l, -a, -q, or -t\n\n " ;
230230 descString += " Allowed options:" ;
231231 boost::program_options::options_description desc (descString);
232+
233+ // clang-format off
232234 desc.add_options ()(kHelpCommandOpt , " produce help message" )(
233- kPluginCommandOpt ,
235+ kPluginCommandOpt , boost::program_options::value<std::string>(), " only print descriptions for this plugin" )(
236+ kLibraryCommandOpt ,
237+ boost::program_options::value<std::string>(),
238+ " only print descriptions for plugins in this library" )(
239+ kAllLibrariesCommandOpt ,
240+ " allows the program to run without selecting a plugin or library. "
241+ " This will take a significant amount of time." )(kModuleLabelCommandOpt ,
242+ boost::program_options::value<std::string>(),
243+ " only print descriptions for this module label" )(
244+ kBriefCommandOpt ,
245+ " do not print comments, more compact format, suppress text"
246+ " added to help the user understand what the output means" )(
247+ kPrintOnlyLabelsCommandOpt ,
248+ " do not print parameter descriptions, just list module labels matching selection criteria" )(
249+ kPrintOnlyPluginsCommandOpt ,
250+ " do not print parameter descriptions or module labels, just list plugins matching selection criteria" )(
251+ kLineWidthCommandOpt ,
252+ boost::program_options::value<unsigned >(),
253+ " try to limit lines to this length by inserting newlines between words in comments. Long words or names can "
254+ " cause the line length to exceed this limit. Defaults to terminal screen width or 80" )(
255+ kTopLevelCommandOpt ,
234256 boost::program_options::value<std::string>(),
235- " only print descriptions for this plugin" )(kLibraryCommandOpt ,
236- boost::program_options::value<std::string>(),
237- " only print descriptions for plugins in this "
238- " library" )(kAllLibrariesCommandOpt ,
239- " allows the program to run without selecting a plugin or "
240- " library. "
241- " This will take a significant amount of "
242- " time." )(kModuleLabelCommandOpt ,
243- boost::program_options::value<std::string>(),
244- " only print descriptions for this module "
245- " label" )(kBriefCommandOpt ,
246- " do not print comments, more compact "
247- " format, suppress text"
248- " added to help the user understand what "
249- " the output "
250- " means" )(kPrintOnlyLabelsCommandOpt ,
251- " do not print parameter "
252- " descriptions, just list module "
253- " labels matching selection "
254- " criteri"
255- " a" )(kPrintOnlyPluginsCommandOpt ,
256- " do not print parameter "
257- " descriptions or module "
258- " labels, just list plugins "
259- " matching selection "
260- " criteri"
261- " a" )(kLineWidthCommandOpt ,
262- boost::program_options::
263- value<unsigned >(),
264- " try to limit lines "
265- " to this length by "
266- " inserting newlines "
267- " between words in "
268- " comments. Long words "
269- " or names can "
270- " cause the line "
271- " length to exceed "
272- " this limit. Defaults "
273- " to terminal screen "
274- " width or "
275- " 8"
276- " 0" )(kTopLevelCommandOpt ,
277- boost::program_options::
278- value<
279- std::string>(),
280- " print only the "
281- " description for "
282- " the top level "
283- " parameter set "
284- " with this name. "
285- " Allowed names "
286- " are 'options', "
287- " 'maxEvents', "
288- " 'maxLuminosityBl"
289- " ocks', and "
290- " 'maxSecondsUntil"
291- " Rampdown'." );
257+ " print only the description for the top level parameter set with this name. Allowed names are 'options', "
258+ " 'maxEvents', 'maxLuminosityBlocks', and 'maxSecondsUntilRampdown'." );
259+ // clang-format on
292260
293261 boost::program_options::variables_map vm;
294262 try {
0 commit comments