|
|
@@ -45,9 +45,10 @@ set_prompt_func() ->
|
|
|
prompt_func(PropList) ->
|
|
|
Line = proplists:get_value(history, PropList, 1),
|
|
|
Version = emqx_release:version(),
|
|
|
+ Edition = emqx_release:edition(),
|
|
|
case is_alive() of
|
|
|
- true -> io_lib:format(<<"~ts(~s)~w> ">>, [Version, node(), Line]);
|
|
|
- false -> io_lib:format(<<"~ts ~w> ">>, [Version, Line])
|
|
|
+ true -> io_lib:format(<<"~ts-~ts(~s)~w> ">>, [Edition, Version, node(), Line]);
|
|
|
+ false -> io_lib:format(<<"~ts-~ts ~w> ">>, [Edition, Version, Line])
|
|
|
end.
|
|
|
|
|
|
local_allowed(MF, Args, State) ->
|