summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.h
diff options
context:
space:
mode:
authorNir Lichtman <nir_lichtman@hotmail.com>2021-12-24 20:28:03 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-24 20:28:03 +0000
commit73a024209cbfbd5b39a2e974084d807c6131e2ed (patch)
tree3fc4d2207a59fd3b0bb04e92d1a282e64e61c4a2 /src/ex_cmds.h
parent806da5176e9e9ab011d927c4ca33a8dde1769539 (diff)
patch 8.2.3888: the argument list may contain duplicatesv8.2.3888
Problem: The argument list may contain duplicates. Solution: Add the :argdedeupe command. (Nir Lichtman, closes #6235)
Diffstat (limited to 'src/ex_cmds.h')
-rw-r--r--src/ex_cmds.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h
index 044580a7c1..3cdb656c99 100644
--- a/src/ex_cmds.h
+++ b/src/ex_cmds.h
@@ -148,6 +148,9 @@ EXCMD(CMD_argdelete, "argdelete", ex_argdelete,
EXCMD(CMD_argdo, "argdo", ex_listdo,
EX_BANG|EX_NEEDARG|EX_EXTRA|EX_NOTRLCOM|EX_RANGE|EX_DFLALL|EX_EXPAND,
ADDR_ARGUMENTS),
+EXCMD(CMD_argdedupe, "argdedupe", ex_argdedupe,
+ EX_TRLBAR,
+ ADDR_NONE),
EXCMD(CMD_argedit, "argedit", ex_argedit,
EX_BANG|EX_NEEDARG|EX_RANGE|EX_ZEROR|EX_FILES|EX_CMDARG|EX_ARGOPT|EX_TRLBAR,
ADDR_ARGUMENTS),