mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[yul-phaser] Phaser: Name option parameters in command-line help
This commit is contained in:
parent
df90cf5d7a
commit
a80512a71d
@ -180,8 +180,8 @@ Phaser::CommandLineDescription Phaser::buildCommandLineDescription()
|
|||||||
po::options_description generalDescription("GENERAL", lineLength, minDescriptionLength);
|
po::options_description generalDescription("GENERAL", lineLength, minDescriptionLength);
|
||||||
generalDescription.add_options()
|
generalDescription.add_options()
|
||||||
("help", "Show help message and exit.")
|
("help", "Show help message and exit.")
|
||||||
("input-file", po::value<string>()->required(), "Input file.")
|
("input-file", po::value<string>()->required()->value_name("<PATH>"), "Input file.")
|
||||||
("seed", po::value<uint32_t>(), "Seed for the random number generator.")
|
("seed", po::value<uint32_t>()->value_name("<NUM>"), "Seed for the random number generator.")
|
||||||
;
|
;
|
||||||
keywordDescription.add(generalDescription);
|
keywordDescription.add(generalDescription);
|
||||||
|
|
||||||
@ -189,7 +189,7 @@ Phaser::CommandLineDescription Phaser::buildCommandLineDescription()
|
|||||||
algorithmDescription.add_options()
|
algorithmDescription.add_options()
|
||||||
(
|
(
|
||||||
"algorithm",
|
"algorithm",
|
||||||
po::value<Algorithm>()->default_value(Algorithm::GEWEP),
|
po::value<Algorithm>()->value_name("<NAME>")->default_value(Algorithm::GEWEP),
|
||||||
"Algorithm"
|
"Algorithm"
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
Loading…
Reference in New Issue
Block a user