patch 8.2.4122: ":command Cmd" does not show custom completion argument
Problem: ":command Cmd" does not show custom completion argument.
Solution: Show the completion argument when using ":verbose".
diff --git a/src/testdir/test_usercommands.vim b/src/testdir/test_usercommands.vim
index 808a2c7..b3ba620 100644
--- a/src/testdir/test_usercommands.vim
+++ b/src/testdir/test_usercommands.vim
@@ -589,10 +589,10 @@
\ execute('command DoCmd'))
" Test output in verbose mode.
- command! DoCmd :
+ command! -nargs=+ -complete=customlist,SomeFunc DoCmd :ls
call assert_match("^\n"
\ .. " Name Args Address Complete Definition\n"
- \ .. " DoCmd 0 :\n"
+ \ .. " DoCmd + customlist,SomeFunc :ls\n"
\ .. "\tLast set from .*/test_usercommands.vim line \\d\\+$",
\ execute('verbose command DoCmd'))