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 0badb73 commit cb05a2dCopy full SHA for cb05a2d
bpython/args.py
@@ -30,6 +30,7 @@
30
import logging
31
import os
32
import sys
33
+from pathlib import Path
34
35
from . import __version__, __copyright__
36
from .config import default_config_path, loadini, Struct
@@ -102,6 +103,7 @@ def callback(group):
102
103
parser.add_argument(
104
"--config",
105
default=default_config_path(),
106
+ type=Path,
107
help=_("Use CONFIG instead of default config file."),
108
)
109
0 commit comments