clipp
clipp copied to clipboard
Timing example not working with flags
The timing.cpp example is broken when passing flags:
This works fine:
./timing -n 10 exename -- some_string
This gives a parse error:
./timing -n 10 exename -- --another-flag -a
I would like to have functionality similar to this so I can pass the arguments after --
to another executable like in this example.
That shouldn't happen, so I consider this to be a bug.
It seems to break if the args after the stand-alone --
have --
as their prefix.
A quick&dirty fix would be to use ---
as separator.