X Tutup
Skip to content

Commit 1eaa634

Browse files
committed
Document bpython-urwid in bpython.1.
1 parent 1a7d76d commit 1eaa634

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

doc/bpython.1

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,13 @@
1616
.\" .sp <n> insert n+1 empty lines
1717
.\" for manpage-specific macros, see man(7)
1818
.SH NAME
19-
bpython \- a fancy curses interface to the Python interactive interpreter
19+
bpython, bpython-urwid \- a fancy interface to the Python interactive interpreter
2020
.SH SYNOPSIS
2121
.B bpython
2222
[\fIoptions\fR] [\fIfile\fR [\fIargs\fR]]
23+
24+
.B bpython-urwid
25+
[\fIoptions\fR] [\fIfile\fR [\fIargs\fR]]
2326
.SH DESCRIPTION
2427
The idea is to provide the user with all the features
2528
in\-line, much like modern IDEs, but in a simple,
@@ -80,6 +83,33 @@ Do not flush the output to stdout.
8083
.PD
8184
Print bpython's version and exit.
8285

86+
.PP
87+
In addition to the above options, bpython-urwid also supports the following
88+
options if twisted is available:
89+
.IP "\fB\-r \fR\fIreactor\fR" 4
90+
.PD 0
91+
.IP "\fB\-\-reactor=\fR\fIreactor\fR" 4
92+
.PD
93+
Use Twisted's \fIreactor\fR reactor instead of urwid's event loop.
94+
95+
.IP "\fB\-\-help\-reactors\fR" 4
96+
.PD
97+
Display a list of available Twisted reactors.
98+
99+
.IP "\fB\-p \fR\fIplugin\fR" 4
100+
.PD 0
101+
.IP "\fB\-\-plugin=\fR\fIplugin\fR" 4
102+
.PD
103+
Execute a twistd plugin. Use twistd to get a list of available plugins. Use
104+
"\-\-" to pass options to the plugin.
105+
106+
.IP "\fB\-s \fR\fIport\fR" 4
107+
.PD 0
108+
.IP "\fB\-\-s=\fR\fIport\fR" 4
109+
.PD
110+
Run a eval server on port \fIport\fR. This options forces the use of a Twisted
111+
reactor.
112+
83113
.SH KEYS
84114
bpython's keys are fully configurable. See
85115
http://docs.bpython-interpreter.org/configuration.html#keyboard

0 commit comments

Comments
 (0)
X Tutup