ea4k / klog

KLog is a multiplatform free hamradio logger. It runs natively on Linux, macOS and Windows.
https://www.klog.xyz
GNU General Public License v3.0
76 stars 25 forks source link

'Usage' does not properly handle arguments, print newlines or return status codes #625

Closed ikbenkous closed 11 months ago

ikbenkous commented 1 year ago

klog -h and klog -v do not print newlines. klog -dskajfdklsa has 0 as a return code. (Considering the argment is garbage, it should return 1.

~~Arguments such as aaa-valhalla are interpreted as -v since the actual test is this: if (arguments.contains("-v"))~~ Scratch that