Browse Source

mad_run: inline attach/stop instructions

Vlad Ki 6 years ago
parent
commit
625d3aa964
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/provide/mad_run.erl

+ 2 - 2
src/provide/mad_run.erl

@@ -12,9 +12,9 @@ start(App) ->                            % run_dir > < log_dir
          true -> {ok,App};
          false -> mad:info("Shell Error: ~s~n",[binary_to_list(X)]), {error,X} end.
 
-attach(_) -> mad:info("to_erl .~n"), {ok,[]}. % use like $(mad attach)
+attach(_) -> mad:info("to_erl . # run using $(mad stop)~n"), {ok,[]}.
 
-stop(_) -> mad:info("echo 'init:stop().' | to_erl .~n"), {ok,[]}. % use like $(mad stop)
+stop(_) -> mad:info("echo 'init:stop().' | to_erl . # run using $(mad stop)~n"), {ok,[]}.
 
 clean(_) -> [ file:delete(X) || X <- filelib:wildcard("{apps,deps}/*/ebin/*.beam") ++
                                      filelib:wildcard("ebin/*.beam")], {ok,[]}.