Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/cocopp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def main(argv=None):
(2 or more input arguments) for the input arguments altogether.

"""
return rungeneric.main(argv=None)
return rungeneric.main(argv)

class Interface:
"""collection of the most user-relevant modules, methods and data.
Expand Down
4 changes: 3 additions & 1 deletion src/cocopp/rungeneric.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ def _split_short_opt_list(short_opt_list):


def usage():
print(main.__doc__)
from . import main as cocopp_main # the options are documented in cocopp.main

print(cocopp_main.__doc__)


def main(argv=None):
Expand Down
Loading