src/main.c: Make it possible to pass options to the app under testmaster
commit119f5b5c58ef491bc316f9773bc35900566a0d7d
authorHolger Hans Peter Freyther <zecke@selfish.org>
Mon, 29 Mar 2010 05:55:49 +0000 (29 07:55 +0200)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Mon, 29 Mar 2010 05:55:49 +0000 (29 07:55 +0200)
tree03d8d0e58f697160490d6c566a65f691c5e8eeda
parente3894e3d75bc0f4c21bd9ecf10910e0fa2a29d98
src/main.c: Make it possible to pass options to the app under test

Currently using ./memprof app --some-option would lead to --some-option
being parsed by memprof and using -- before the application name lead
to the attempt of starting an application called '--'. We simply check
if the first remaining filename is a '--' and then just skip it.
src/main.c