commit | c3e81694fca484ebabd99f3637bd83b9ee2dd50a | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat May 05 15:09:51 2018 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat May 05 15:09:51 2018 +0200 |
tree | 7e7100ec81ed2e2f17d0eb2af1e3acd7fb959c11 | |
parent | 9894e394b230723abefc05a1c9a336b05a63088b [diff] [blame] |
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 3b366b5..e2686b8 100644 --- a/src/main.c +++ b/src/main.c
@@ -2014,6 +2014,7 @@ #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". */