From a80512a71d2c5836324ee5e59e401d1a80c45cb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20=C5=9Aliwak?= Date: Tue, 25 Feb 2020 18:52:56 +0100 Subject: [PATCH] [yul-phaser] Phaser: Name option parameters in command-line help --- tools/yulPhaser/Phaser.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/yulPhaser/Phaser.cpp b/tools/yulPhaser/Phaser.cpp index ba99f3544..45d9672d1 100644 --- a/tools/yulPhaser/Phaser.cpp +++ b/tools/yulPhaser/Phaser.cpp @@ -180,8 +180,8 @@ Phaser::CommandLineDescription Phaser::buildCommandLineDescription() 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.") + ("input-file", po::value()->required()->value_name(""), "Input file.") + ("seed", po::value()->value_name(""), "Seed for the random number generator.") ; keywordDescription.add(generalDescription); @@ -189,7 +189,7 @@ Phaser::CommandLineDescription Phaser::buildCommandLineDescription() algorithmDescription.add_options() ( "algorithm", - po::value()->default_value(Algorithm::GEWEP), + po::value()->value_name("")->default_value(Algorithm::GEWEP), "Algorithm" ) ;