From 8ae725e76f5032ea216673a87a43b5e3ba8358d6 Mon Sep 17 00:00:00 2001 From: cheapie Date: Fri, 29 May 2026 10:40:08 -0500 Subject: Show an error when running the endian command with an invalid argument --- rvcontroller.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rvcontroller.lua b/rvcontroller.lua index eeeb7a7..81d2f68 100644 --- a/rvcontroller.lua +++ b/rvcontroller.lua @@ -2587,6 +2587,8 @@ elseif event.channel == "monitorkb" then bits[5] = false --MBE writecsr(0x310,implodebits(bits,32)) digiline_send("monitordisp","Little-endian") + else + digiline_send("monitordisp","Invalid argument") end elseif argv[1] == "help" then if argc == 1 or argv[2] == "1" then -- cgit v1.2.3