Changed: Remove alternative formats for parameters (too verbose)
This commit is contained in:
parent
da97034f04
commit
4b784e9bcd
1 changed files with 0 additions and 7 deletions
|
@ -443,7 +443,6 @@ void CCmdArgs::displayHelp()
|
||||||
if (!arg.helpName.empty())
|
if (!arg.helpName.empty())
|
||||||
{
|
{
|
||||||
syntaxes.push_back(toString("-%s <%s>", arg.shortName.c_str(), arg.helpName.c_str()));
|
syntaxes.push_back(toString("-%s <%s>", arg.shortName.c_str(), arg.helpName.c_str()));
|
||||||
syntaxes.push_back(toString("-%s<%s>", arg.shortName.c_str(), arg.helpName.c_str()));
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -459,12 +458,6 @@ void CCmdArgs::displayHelp()
|
||||||
// display first syntax for long argument, --arg <value>
|
// display first syntax for long argument, --arg <value>
|
||||||
syntaxes.push_back(toString("--%s <%s>", arg.longName.c_str(), arg.helpName.c_str()));
|
syntaxes.push_back(toString("--%s <%s>", arg.longName.c_str(), arg.helpName.c_str()));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!arg.helpName.empty())
|
|
||||||
{
|
|
||||||
// display second syntax for long argument, --arg=<value>
|
|
||||||
syntaxes.push_back(toString("--%s=<%s>", arg.longName.c_str(), arg.helpName.c_str()));
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
syntaxes.push_back(toString("--%s", arg.longName.c_str()));
|
syntaxes.push_back(toString("--%s", arg.longName.c_str()));
|
||||||
|
|
Loading…
Reference in a new issue