summaryrefslogtreecommitdiff
path: root/support/texlab/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'support/texlab/src/main.rs')
-rw-r--r--support/texlab/src/main.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/support/texlab/src/main.rs b/support/texlab/src/main.rs
index 06cbba3f5d..ed807f8799 100644
--- a/support/texlab/src/main.rs
+++ b/support/texlab/src/main.rs
@@ -1,4 +1,4 @@
-use std::{env, fs::OpenOptions, io, path::PathBuf};
+use std::{fs::OpenOptions, io, path::PathBuf};
use anyhow::Result;
use clap::{ArgAction, Parser};
@@ -21,10 +21,6 @@ struct Opts {
/// Write the logging output to FILE
#[clap(long, name = "FILE", value_parser)]
log_file: Option<PathBuf>,
-
- /// Print version information and exit
- #[clap(short = 'V', long)]
- version: bool,
}
fn main() -> Result<()> {
@@ -32,7 +28,7 @@ fn main() -> Result<()> {
setup_logger(opts);
let (connection, threads) = Connection::stdio();
- Server::with_connection(connection, env::current_dir()?, true).run()?;
+ Server::new(connection).run()?;
threads.join()?;
Ok(())