OpenSTA icon indicating copy to clipboard operation
OpenSTA copied to clipboard

app/findCmd: handle singular arg

Open proppy opened this issue 3 years ago • 0 comments

Noticed as part of https://github.com/The-OpenROAD-Project/OpenROAD/pull/2389 that the findCmd* helpers don't seem to discard singular argument (i.e: when the flag is the only remaining argument).

This is not strictly necessary, since this information is also convoyed using argc but might be good for consistency (discard arguments both when it's the only one left and when there are others remaining).

proppy avatar Oct 20 '22 05:10 proppy