Skip to content

Commit 0327893

Browse files
committed
Fix add_option calls
1 parent 71c419d commit 0327893

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bpython/curtsies.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,13 @@ def main(args=None, locals_=None, banner=None, welcome_message=None):
134134
translations.init()
135135

136136
def curtsies_arguments(parser):
137-
parser.add_argument(
137+
parser.add_option(
138138
"--log",
139139
"-L",
140140
action="count",
141141
help=_("log debug messages to bpython.log"),
142142
)
143-
parser.add_argument(
143+
parser.add_option(
144144
"--paste",
145145
"-p",
146146
action="store_true",

0 commit comments

Comments
 (0)