summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rebar_core.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_core.erl b/src/rebar_core.erl
index 88dbde8..68391e7 100644
--- a/src/rebar_core.erl
+++ b/src/rebar_core.erl
@@ -129,7 +129,7 @@ set_global_flag(Options, Flag) ->
%%
help() ->
OptSpecList = option_spec_list(),
- getopt:usage(OptSpecList, escript:script_name(),
+ getopt:usage(OptSpecList, "rebar",
"[var=value,...] <command,...>",
[{"var=value", "rebar global variables (e.g. force=1)"},
{"command", "Command to run (e.g. compile)"}]).