summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2010-02-02 12:56:16 +0100
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2010-02-02 12:56:16 +0100
commit2734f2bcc2ece0256467bf527c14bf4dab7a7e67 (patch)
tree87de55116c59d70921aab363388330462e877d11 /src
parentbd510dea205281aa87bf008f7bc6ad885bc90b77 (diff)
Do not print dynamic escript name in usage info
Diffstat (limited to 'src')
-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)"}]).