Skip to content

kicad-cli -v prints an error

Description

Running kicad-cli -v or kicad-cli --version prints:

09:03:12 PM: Error: Unhandled exception class: St11logic_error  what: Nothing parsed, no arguments are available.

kicad-cli version works, although --format plain and --format commit could use a trailing newline.

Steps to reproduce

  1. kicad-cli -v

KiCad Version

Application: KiCad x86_64 on x86_64

Version: (6.99.0-5297-g985414fef9), release build

Libraries:
	wxWidgets 3.2.1
	FreeType 2.12.1
	HarfBuzz 6.0.0
	FontConfig 2.14.1

Platform: Arch Linux, 64 bit, Little endian, wxGTK, KDE, x11

	wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
	Boost: 1.80.0
	OCC: 7.6.3
	Curl: 7.86.0
	ngspice: 37
	Compiler: GCC 12.2.0 with C++ ABI 1017

Build settings:
	KICAD_USE_EGL=ON
	KICAD_SPICE=ON