Skip to content

Commit

Permalink
Make iohandlers optional to ease Julia generation
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Dec 7, 2023
1 parent d321378 commit bc593dc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/podio_class_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,9 @@ def read_upstream_edm(name_path):
'Source files will be put under <targetdir>/src/*.cc. '
'Julia files will be put under <targetdir>/<packagename>/*.jl.')
parser.add_argument('packagename', help='Name of the package.')
parser.add_argument('iohandlers', choices=['ROOT', 'SIO'], nargs='+',
help='The IO backend specific code that should be generated')
parser.add_argument('iohandlers', choices=['ROOT', 'SIO'], nargs='*',
help='The IO backend specific code that should be generated',
default="ROOT")
parser.add_argument('-l', '--lang', choices=['cpp', 'julia'], default='cpp',
help='Specify the programming language (default: cpp)')
parser.add_argument('-q', '--quiet', dest='verbose', action='store_false', default=True,
Expand Down

0 comments on commit bc593dc

Please sign in to comment.