diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-01-06 21:47:21 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-01-06 21:47:21 +0100 |
commit | 1860bde9d31bbb0ba857f6284f6332a7134030dd (patch) | |
tree | e1b03b951134208584dac0c507a53fee06e42b7d /src/ex_cmds.h | |
parent | e73b38f8e10c220a382270f69e24cad08d3bf792 (diff) | |
download | vim-git-1860bde9d31bbb0ba857f6284f6332a7134030dd.tar.gz |
patch 8.2.0095: cannot specify exit code for :cquitv8.2.0095
Problem: Cannot specify exit code for :cquit.
Solution: Add optional argument. (Thinca, Yegappan Lakshmanan, closes #5442)
Diffstat (limited to 'src/ex_cmds.h')
-rw-r--r-- | src/ex_cmds.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h index 14b43bda4..928b1100d 100644 --- a/src/ex_cmds.h +++ b/src/ex_cmds.h @@ -407,7 +407,7 @@ EXCMD(CMD_cpfile, "cpfile", ex_cnext, EX_RANGE|EX_COUNT|EX_TRLBAR|EX_BANG, ADDR_OTHER), EXCMD(CMD_cquit, "cquit", ex_cquit, - EX_TRLBAR|EX_BANG, + EX_RANGE|EX_COUNT|EX_ZEROR|EX_TRLBAR|EX_BANG, ADDR_NONE), EXCMD(CMD_crewind, "crewind", ex_cc, EX_RANGE|EX_COUNT|EX_TRLBAR|EX_BANG, |