diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2021-02-26 09:51:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-26 15:51:25 +0100 |
commit | 07eb0090445c22001ba50e71359839250c1b749a (patch) | |
tree | 5ab87dfb7c0f8b6b06891f335d9548d991c36c90 /cli/main.rs | |
parent | 67ca978f9718dea41730276a0b0dcdbf2df3099b (diff) |
Improve 'deno lsp' help text (#9610)
Diffstat (limited to 'cli/main.rs')
-rw-r--r-- | cli/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/main.rs b/cli/main.rs index 7071d775a..00f91a77d 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -417,7 +417,7 @@ async fn install_command( tools::installer::install(flags, &module_url, args, name, root, force) } -async fn language_server_command() -> Result<(), AnyError> { +async fn lsp_command() -> Result<(), AnyError> { lsp::start().await } @@ -1099,7 +1099,7 @@ fn get_subcommand( } => { install_command(flags, module_url, args, name, root, force).boxed_local() } - DenoSubcommand::LanguageServer => language_server_command().boxed_local(), + DenoSubcommand::Lsp => lsp_command().boxed_local(), DenoSubcommand::Lint { files, rules, |