diff --git a/tools/yulPhaser/Phaser.cpp b/tools/yulPhaser/Phaser.cpp index ac96a1ee8..c06533c21 100644 --- a/tools/yulPhaser/Phaser.cpp +++ b/tools/yulPhaser/Phaser.cpp @@ -176,16 +176,25 @@ Phaser::CommandLineDescription Phaser::buildCommandLineDescription() lineLength, minDescriptionLength ); - keywordDescription.add_options() + + po::options_description generalDescription("GENERAL", lineLength, minDescriptionLength); + generalDescription.add_options() ("help", "Show help message and exit.") ("input-file", po::value()->required(), "Input file") ("seed", po::value(), "Seed for the random number generator") + ; + keywordDescription.add(generalDescription); + + po::options_description algorithmDescription("ALGORITHM", lineLength, minDescriptionLength); + algorithmDescription.add_options() ( "algorithm", po::value()->default_value(Algorithm::GEWEP), "Algorithm" ) ; + keywordDescription.add(algorithmDescription); + po::positional_options_description positionalDescription; positionalDescription.add("input-file", 1);