diff options
author | Xin LI <delphij@FreeBSD.org> | 2025-07-20 17:26:39 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2025-07-20 17:26:39 +0000 |
commit | 9006df9a94bf66485f7d23eec79eb6a344136401 (patch) | |
tree | 24c6d309954a3b2d52c54d40d634f02e2c7f25f0 /decode.c | |
parent | 48b0a08b8724e7d5671dac2abf17ddb6d4e2a8f8 (diff) |
Diffstat (limited to 'decode.c')
-rw-r--r-- | decode.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -750,7 +750,7 @@ static int cmd_search(constant char *cmd, constant unsigned char *table, constan { action = taction; *extra = textra; - } else if (match > 0) /* cmd is a prefix of this table entry */ + } else if (match > 0 && action == A_INVALID) /* cmd is a prefix of this table entry */ { action = A_PREFIX; } |