diff --git a/Changelog b/Changelog index a35bd11..4181461 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,6 @@ 2025-xx-xx - v3.2.1.dev0: * WARNING: This is a development snapshot, not a stable release. + * Fix error handling during type autodetection in create mode. 2025-11-02 - v3.2.0: * Drop support for Python 3.6. diff --git a/lib/cfv/common.py b/lib/cfv/common.py index 2148fff..b7ff0d4 100644 --- a/lib/cfv/common.py +++ b/lib/cfv/common.py @@ -2215,7 +2215,8 @@ def main(argv=None): testa = a[:-3] cftype = cftypes.auto_filename_match(a, testa) if not cftype: - raise CFVValueError('specify a filetype with -t, or use standard extension') + view.perror('cfv: specify a filetype with -t, or use standard extension') + sys.exit(1) make(cftype, a, args) if mode == 0: