aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-27 11:24:33 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-09-04 21:16:34 -0400
commit106b308ed4c99b1f2397ebd106974e07f934a9f8 (patch)
tree7e587e32bb203f14c81ca3a96a397b12c43910be /src
parent24b16ed35e402e6389ca00753343ac93c0949a02 (diff)
downloadrneovim-106b308ed4c99b1f2397ebd106974e07f934a9f8.tar.gz
rneovim-106b308ed4c99b1f2397ebd106974e07f934a9f8.tar.bz2
rneovim-106b308ed4c99b1f2397ebd106974e07f934a9f8.zip
vim-patch:8.0.1792: MS-Windows users expect -? to work like --help
Problem: MS-Windows users expect -? to work like --help. Solution: Add -?. (Christian Brabandt, closes vim/vim#2867) https://github.com/vim/vim/commit/c3e81694fca484ebabd99f3637bd83b9ee2dd50a Include runtime/ changes from https://github.com/vim/vim/commit/85eee130f44a2201d88ca2aeff0af3b11dd75fa9 to pass 8.1.0231 tests.
Diffstat (limited to 'src')
-rw-r--r--src/nvim/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index af7c194edc..ab8b33aa12 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -892,6 +892,7 @@ static void command_line_scan(mparm_T *parmp)
set_option_value("rl", 1L, NULL, 0);
break;
}
+ case '?': // "-?" give help message (for MS-Windows)
case 'h': { // "-h" give help message
usage();
mch_exit(0);