Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 c3e8169
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main.c
Expand Up @@ -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". */
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -761,6 +761,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1792,
/**/
1791,
/**/
Expand Down

0 comments on commit c3e8169

Please sign in to comment.