anchor.diff:      AnalysisOptions = [{preb, Preb}, {include, Include}],
       %% Start the log manager and attach the event handler below.
       _ = log:start(),
  -    _ = log:attach(?MODULE, []),
  +    _ = log:attach(?MODULE, Options),
       %% Start the analysis
       AnalysisRet = sched:analyze(Target, Files, AnalysisOptions),
       %% Save result to a snapshot
  
positive.code:     io:format("~s: wrong number of arguments for option --all\n",
          [?APP_STRING]),
      halt(1);
  action_show([{'-details', []} | Args], Options) ->
      %% Found --details options
      NewOptions = lists:keystore(details, 1, Options, {details}),
      action_show(Args, NewOptions);
  action_show([{'-details', _Params} | _Args], _Options) ->
      %% Found --details option with wrong parameters
      io:format("~s: wrong number of arguments for option --details\n",
          [?APP_STRING]),
  
negative.code:     %% Disable log event handler while replaying.
      _ = log:detach(?MODULE, []),
      Details = sched:replay(T),
      _ = log:attach(?MODULE, [{no_progress}]),
      lists:foreach(fun(Detail) ->
                  D1 = proc_action:to_string(Detail),
                  D2 = io_lib:format("  ~s\n", [D1]),
  