Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
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
Kirill Smelkov
Zope
Commits
e99aa8b5
Commit
e99aa8b5
authored
Apr 10, 2009
by
Chris Withers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make zopectl -h work once the new zdaemon release is used.
parent
54a6a872
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
src/Zope2/Startup/zopectl.py
src/Zope2/Startup/zopectl.py
+8
-6
No files found.
src/Zope2/Startup/zopectl.py
View file @
e99aa8b5
...
@@ -56,12 +56,14 @@ def string_list(arg):
...
@@ -56,12 +56,14 @@ def string_list(arg):
return
arg
.
split
()
return
arg
.
split
()
class
ZopeCtlOptions
(
ZDOptions
):
class
ZopeCtlOptions
(
ZDOptions
):
"""Zope controller options.
# Zope controller options.
#
# After initialization, this should look very much like a
# zdaemon.zdctl.ZDCtlOptions instance. Many of the attributes are
# initialized from different sources, however.
After initialization, this should look very much like a
__doc__
=
__doc__
zdaemon.zdctl.ZDCtlOptions instance. Many of the attributes are
initialized from different sources, however.
"""
positional_args_allowed
=
1
positional_args_allowed
=
1
program
=
"zopectl"
program
=
"zopectl"
...
@@ -73,7 +75,7 @@ class ZopeCtlOptions(ZDOptions):
...
@@ -73,7 +75,7 @@ class ZopeCtlOptions(ZDOptions):
# same logging for zdctl as for the Zope appserver. There still
# same logging for zdctl as for the Zope appserver. There still
# needs to be a way to set a logfile for zdctl.
# needs to be a way to set a logfile for zdctl.
logsectionname
=
None
logsectionname
=
None
def
__init__
(
self
):
def
__init__
(
self
):
ZDOptions
.
__init__
(
self
)
ZDOptions
.
__init__
(
self
)
self
.
add
(
"program"
,
"runner.program"
,
"p:"
,
"program="
,
self
.
add
(
"program"
,
"runner.program"
,
"p:"
,
"program="
,
...
...
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