aboutsummaryrefslogtreecommitdiff
path: root/jim-aio.c
diff options
context:
space:
mode:
Diffstat (limited to 'jim-aio.c')
-rw-r--r--jim-aio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jim-aio.c b/jim-aio.c
index e8af2f3..93e0b41 100644
--- a/jim-aio.c
+++ b/jim-aio.c
@@ -1679,7 +1679,7 @@ static int JimAioSockCommand(Jim_Interp *interp, int argc, Jim_Obj *const *argv)
}
if (Jim_GetEnum(interp, argv[1], socktypes, &socktype, "socket type", JIM_ERRMSG) != JIM_OK)
- return JIM_ERR;
+ return Jim_CheckShowCommands(interp, argv[1], socktypes);
Jim_SetEmptyResult(interp);