Permalink
Browse files

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)
  • Loading branch information...
brammool committed May 5, 2018
1 parent 9894e39 commit c3e81694fca484ebabd99f3637bd83b9ee2dd50a
Showing with 3 additions and 0 deletions.
  1. +1 −0 src/main.c
  2. +2 −0 src/version.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". */
@@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1792,
/**/
1791,
/**/

0 comments on commit c3e8169

Please sign in to comment.