Skip to content

Commit

Permalink
DAP should return 0 on version command (erlang-ls#1230)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertoaloi committed Mar 2, 2022
1 parent 44eee38 commit 6dcf643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/els_dap/src/els_dap.erl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ parse_args(Args) ->
case getopt:parse(opt_spec_list(), Args) of
{ok, {[version | _], _BadArgs}} ->
print_version(),
halt(1);
halt(0);
{ok, {ParsedArgs, _BadArgs}} ->
set_args(ParsedArgs);
{error, {invalid_option, _}} ->
Expand Down

0 comments on commit 6dcf643

Please sign in to comment.