From c3e81694fca484ebabd99f3637bd83b9ee2dd50a Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 5 May 2018 15:09:51 +0200 Subject: [PATCH] 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 #2867) --- src/main.c | 1 + src/version.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/main.c b/src/main.c index 3b366b507d..e2686b8496 100644 --- 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 index 9dd2895edf..b0c8ed7c7e 100644 --- a/src/version.c +++ b/src/version.c @@ -761,6 +761,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1792, /**/ 1791, /**/ -- 2.47.2