diff --git a/cmd/fwtablectl/firmware.go b/cmd/fwtablectl/firmware.go index e321afc..cecca1c 100644 --- a/cmd/fwtablectl/firmware.go +++ b/cmd/fwtablectl/firmware.go @@ -34,6 +34,10 @@ func firmware(args []string) { usage() } firmwareRemove(args[1:]) + default: + fmt.Println("Invalid firmware command:", args[0]) + usage() + } } diff --git a/cmd/fwtablectl/part.go b/cmd/fwtablectl/part.go index da7c446..b6878f6 100644 --- a/cmd/fwtablectl/part.go +++ b/cmd/fwtablectl/part.go @@ -14,6 +14,9 @@ func part(args []string) { usage() } partRemove(args[1:]) + default: + fmt.Println("Invalid parts command:", args[0]) + usage() } }