We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f81d8a3 commit de6e122Copy full SHA for de6e122
pysrc/juliacall/__init__.py
@@ -50,10 +50,10 @@ def init():
50
def option(name, default=None, xkey=None, envkey=None):
51
"""Get an option.
52
53
- Options can be set as command line arguments '-X juliacall_{name}={value}' or as
+ Options can be set as command line arguments '-X juliacall-{name}={value}' or as
54
environment variables 'PYTHON_JULIACALL_{NAME}={value}'.
55
"""
56
- k = xkey or 'juliacall_'+name.lower()
+ k = xkey or 'juliacall-'+name.lower().replace('_', '-')
57
v = sys._xoptions.get(k)
58
if v is not None:
59
return v, f'-X{k}={v}'
0 commit comments