aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/observer/src/ttb.erl10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/observer/src/ttb.erl b/lib/observer/src/ttb.erl
index f52b4f33fa..17520c7c84 100644
--- a/lib/observer/src/ttb.erl
+++ b/lib/observer/src/ttb.erl
@@ -471,13 +471,13 @@ stop(Opts) ->
stop_opts(Opts) ->
case {lists:member(format,Opts), lists:member(return, Opts)} of
{true, _} ->
- format; % format implies fetch
+ format;
{_, true} ->
- fetch; % if we specify return, the data should be fetched
+ fetch;
_ ->
- case lists:member(fetch,Opts) of
- true -> fetch;
- false -> nofetch
+ case lists:member(nofetch,Opts) of
+ true -> nofetch;
+ false -> fetch
end
end.