changeset 13841:032bc07c32da v8.0.1792

patch 8.0.1792: MS-Windows users expect -? to work like --help commit https://github.com/vim/vim/commit/c3e81694fca484ebabd99f3637bd83b9ee2dd50a Author: Bram Moolenaar <Bram@vim.org> 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)
author Christian Brabandt <cb@256bit.org>
date Sat, 05 May 2018 15:15:06 +0200
parents 40d39b5b2419
children 3dee8c59417f
files src/main.c src/version.c
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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". */
--- 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,