summaryrefslogtreecommitdiff
path: root/src/ex_cmds.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-02-13 21:29:32 +0100
committerBram Moolenaar <Bram@vim.org>2020-02-13 21:29:32 +0100
commit21456cdccbdf9d222938139769f1abe95b8effdd (patch)
treed5d71fb7b621390690e1495e296da3f91d94eca1 /src/ex_cmds.h
parent3dd64608f6183a49c6854652017b928556224935 (diff)
downloadvim-git-21456cdccbdf9d222938139769f1abe95b8effdd.tar.gz
patch 8.2.0253: crash when using :disassamble without argumentv8.2.0253
Problem: Crash when using :disassamble without argument. (Dhiraj Mishra) Solution: Check for missing argument. (Dominique Pelle, closes #5635, closes #5637)
Diffstat (limited to 'src/ex_cmds.h')
-rw-r--r--src/ex_cmds.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h
index 10b9ed723..f09fb3bff 100644
--- a/src/ex_cmds.h
+++ b/src/ex_cmds.h
@@ -479,7 +479,7 @@ EXCMD(CMD_digraphs, "digraphs", ex_digraphs,
EX_BANG|EX_EXTRA|EX_TRLBAR|EX_CMDWIN,
ADDR_NONE),
EXCMD(CMD_disassemble, "disassemble", ex_disassemble,
- EX_EXTRA|EX_TRLBAR|EX_CMDWIN,
+ EX_EXTRA|EX_NEEDARG|EX_TRLBAR|EX_CMDWIN,
ADDR_NONE),
EXCMD(CMD_djump, "djump", ex_findpat,
EX_BANG|EX_RANGE|EX_DFLALL|EX_WHOLEFOLD|EX_EXTRA,