From: Bram Moolenaar Date: Sat, 5 May 2018 13:09:51 +0000 (+0200) Subject: patch 8.0.1792: MS-Windows users expect -? to work like --help X-Git-Tag: v8.0.1792 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c3e81694fca484ebabd99f3637bd83b9ee2dd50a;p=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 #2867) --- diff --git a/src/main.c b/src/main.c index 3b366b507..e2686b849 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 9dd2895ed..b0c8ed7c7 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, /**/