remove unnecessary nesting
This commit is contained in:
parent
9673f67806
commit
1609404b8e
|
@ -630,9 +630,7 @@ int readarg_helpgen_put_usage(struct readarg_parser *rp, struct readarg_helpgen_
|
||||||
{
|
{
|
||||||
READARG_HELPGEN_TRY_LIT(writer, ", ");
|
READARG_HELPGEN_TRY_LIT(writer, ", ");
|
||||||
}
|
}
|
||||||
else
|
else if (opts[i].req)
|
||||||
{
|
|
||||||
if (opts[i].req)
|
|
||||||
{
|
{
|
||||||
READARG_HELPGEN_TRY_LIT(writer, " ");
|
READARG_HELPGEN_TRY_LIT(writer, " ");
|
||||||
if (opts[i].arg.name)
|
if (opts[i].arg.name)
|
||||||
|
@ -652,7 +650,6 @@ int readarg_helpgen_put_usage(struct readarg_parser *rp, struct readarg_helpgen_
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (j >= lower)
|
if (j >= lower)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue