anchor.diff:                                             "erlangpl@127.0.0.1"}
       ].
   
  +%% show version information and halt
  +show_version(Args) ->
  +    case lists:member(version, Args) of
  +        false ->
  +            ok;
  +        true ->
  +            {ok, Vsn} = application:get_key(epl, vsn),
  +            ?CONSOLE("Erlang Performance Lab ~s\n", [Vsn])
  +    end.
  +
   filter_flags([], Commands) ->
       lists:reverse(Commands);
   filter_flags([Item | Rest], Commands) ->
  
positive.code:                       Skip when Skip == <<".beam">>; Skip == <<".app">> ->
                            ok;
                        _ ->
                            %% TODO: add following debug printouts
                            %% io:format("~p~n", [File]),
                            true = ets:insert(epl_priv, {File, Bin})
                    end
            end,
      lists:foreach(Fun, Files).
  
  log(error, Str) ->
      log(error, Str, []);
  log(warning, Str) ->
      log(warning, Str, []).
  
  log(error, Str, List) ->
      io:format(lists:flatten(["ERROR: ", Str, "~n~n"]), List);
  log(warning, Str, List) ->
      io:format(lists:flatten(["WARNING: ", Str, "~n~n"]), List).
  
  start_distributed(Args) ->
      application:set_env(kernel, dist_auto_connect, never),
  
negative.code:             Key = list_to_atom(KeyStr),
              filter_flags(Rest, [{Key, Value}|Commands]);
          Other ->
              ?WARN("Ignoring command line argument: ~p\n", [Other]),
              filter_flags(Rest, Commands)
      end.
  
  