# HG changeset patch # User Christian Brabandt # Date 1525526106 -7200 # Node ID 032bc07c32dae5b1390fb1355a8195711fa42e21 # Parent 40d39b5b2419c25e883140913b60745d28b7056d patch 8.0.1792: MS-Windows users expect -? to work like --help commit https://github.com/vim/vim/commit/c3e81694fca484ebabd99f3637bd83b9ee2dd50a Author: Bram Moolenaar Date: Sat May 5 15:09:51 2018 +0200 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 https://github.com/vim/vim/issues/2867) diff --git a/src/main.c b/src/main.c --- a/src/main.c +++ b/src/main.c @@ -2014,6 +2014,7 @@ command_line_scan(mparm_T *parmp) #endif break; + case '?': /* "-?" give help message (for MS-Windows) */ case 'h': /* "-h" give help message */ #ifdef FEAT_GUI_GNOME /* Tell usage() to exit for "gvim". */ diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -762,6 +762,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1792, +/**/ 1791, /**/ 1790,