mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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)
This commit is contained in:
@@ -2014,6 +2014,7 @@ command_line_scan(mparm_T *parmp)
|
|||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case '?': /* "-?" give help message (for MS-Windows) */
|
||||||
case 'h': /* "-h" give help message */
|
case 'h': /* "-h" give help message */
|
||||||
#ifdef FEAT_GUI_GNOME
|
#ifdef FEAT_GUI_GNOME
|
||||||
/* Tell usage() to exit for "gvim". */
|
/* Tell usage() to exit for "gvim". */
|
||||||
|
@@ -761,6 +761,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1792,
|
||||||
/**/
|
/**/
|
||||||
1791,
|
1791,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user