mirror of
https://github.com/neovim/neovim.git
synced 2025-11-26 12:10:40 +00:00
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)c3e81694fcInclude runtime/ changes from85eee130f4to pass 8.1.0231 tests.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user