1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
.\" Hey, EMACS: -*- nroff -*-
.\" (C) Copyright 2020 Julian Gilbey <jdg@debian.org>
.TH PYLSP "1" "December 2020" "pylsp 1.2.2" "User Commands"
.SH NAME
pylsp \- Python Language Server
.SH SYNOPSIS
.B pylsp
[\fI\,OPTION\/\fR]...
.SH DESCRIPTION
.PP
Run a Python Language Server following the Language Server Protocol.
.SH OPTIONS
.TP
\fB\-\-tcp\fR
Use a TCP server instead of stdio.
.TP
\fB\-\-host\fR HOST
Bind to this address.
.TP
\fB\-\-port\fR PORT
Bind to this port.
.TP
\fB\-\-check\-parent\-process\fR
Check whether parent process is still alive using
os.kill(ppid, 0) and auto shut down language server
process when parent process is not alive.
.TP
\fB\-\-log\-config\fR LOG_CONFIG
Path to a JSON file containing Python logging config.
.TP
\fB\-\-log\-file\fR LOG_FILE
Redirect logs to the given file instead of writing to
stderr. Has no effect if used with \fB\-\-log\-config\fR.
.TP
\fB\-v\fR, \fB\-\-verbose\fR
Increase verbosity of log output, overrides log config file.
.TP
\fB\-h\fR, \fB\-\-help\fR
Show a help message and exit.
|