anchor.diff:  process_option(usage, _) ->
       usage;
   process_option(export, _) ->
  -    export.
  +    export;
  +process_option(terms, Result) ->
  +    process_option({terms, stdin}, Result);
  +process_option({terms, Path}, Result) ->
  +    application:set_env(riaknostic, terms, true),
  +    application:set_env(riaknostic, term_target, Path),
  +    Result.
  
positive.code:                {list,  $l,        "list",  undefined,      "Describe available diagnostic tasks"             },
                 {usage, $h,        "help",  undefined,      "Display help/usage"                              },
                 % should we calc and interpolate the actual cwd for the below?
                 {export,undefined, "export",undefined,      "Package system info in '$CWD/export.zip'"        }
                ]).
  
  -define(USAGE_OPTS, [ O || O <- ?OPTS,
                             element(5,O) =/= undefined]).
  
  %% @doc The main entry point for the riaknostic escript.
  -spec main(CommandLineArguments::[string()]) -> any().
  
negative.code:                     io:format("No diagnostic messages to report.~n"),
                      halt(0);
                  _ ->
  		    case application:get_env(riaknostic, terms) of
  			{ok, true} ->
  			    write_list(SortedMessages);
  			undefined ->		    
  			    lists:foreach(fun riaknostic_check:print/1, SortedMessages)
  		    end,
                      halt(1)
              end
      end.
  
  write_list(MessageList) ->
      case application:get_env(riaknostic, term_target) of
  	{ok, stdin} -> io:format("~w", [{riaknostic_report, ?MR_OUTPUT_VSN, MessageList}]);
  	{ok, Path}  -> {ok, Fh} = file:open(filename:absname(Path), [write]), 
  		       io:format(Fh, "~w", [{riaknostic_report, ?MR_OUTPUT_VSN, MessageList}]),
  		       file:close(Fh)
      end.
  		
  validate_checks(Check, {Mods, SNames}) ->
      case lists:keyfind(Check, 1, SNames) of
          {Check, Mod} ->
  