Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
ZODB
Commits
d703ed44
Commit
d703ed44
authored
Jan 03, 2003
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ouch! I never tested the long options. The leading double dash
should not be in the list of options passed to getopt()!
parent
35209640
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/ZEO/runsvr.py
src/ZEO/runsvr.py
+5
-5
No files found.
src/ZEO/runsvr.py
View file @
d703ed44
...
...
@@ -94,7 +94,7 @@ class Options:
# Default set of options. Subclasses should override.
_short_options
=
"C:h"
_long_options
=
[
"
--configuration="
,
"--
help"
]
_long_options
=
[
"
configuration="
,
"
help"
]
def
handle_option
(
self
,
opt
,
arg
):
"""Handle one option. Subclasses should override.
...
...
@@ -158,10 +158,10 @@ class ZEOOptions(Options):
_short_options
=
"a:C:f:h"
_long_options
=
[
"
--
address="
,
"
--
configuration="
,
"
--
filename="
,
"
--
help"
,
"address="
,
"configuration="
,
"filename="
,
"help"
,
]
def
handle_option
(
self
,
opt
,
arg
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment