Skip to content
Browse files

allow copystatic to be combined with --sys-conf (not elegant)

  • Loading branch information...
1 parent b0e8dc6 commit a7808c0f637e7a6547615122437dfae3641ceb87 @etrepum etrepum committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 erldocs
View
2 erldocs
@@ -19,7 +19,7 @@ main(Args) ->
%% @doc Parses arguments passed to script and calls
%% appropriate function.
-spec dispatch(list(), list()) -> ok.
-dispatch(Conf, ["copystatic"]) ->
+dispatch(Conf, ["copystatic" | _]) ->
erldocs:copy_static_files(Conf);
dispatch(Conf, _) ->
Start = erlang:now(),

0 comments on commit a7808c0

Please sign in to comment.
Something went wrong with that request. Please try again.