|
From: Jeremy F. <je...@go...> - 2005-02-11 23:06:16
|
On Fri, 2005-02-11 at 18:50 +0000, Julian Seward wrote: > > I'd go for --command-line-only=yes, > > I like that one. > > Uh ... what happens if this flag appears only in a .valgrindrc > or $VALGRIND_OPTS :-? I guess the sensible thing to do is say > that it cannot legitimately appear in either of those places. That's an interesting question. By the time the args are parsed, you don't know where they came from because they've all been mushed together into one unified argv by get_command_line(). You'd need to pre-parse the real command-line to avoid fetching any other CLO sources. J |