Do not print dynamic escript name in usage info

This commit is contained in:
Tuncer Ayaz 2010-02-02 12:56:16 +01:00
parent bd510dea20
commit 2734f2bcc2

View file

@ -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)"}]).