diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2015-03-24 19:53:31 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-03-24 19:53:31 -0400 |
commit | c56c035576f56f86405c40f3708bff49c996f1f8 (patch) | |
tree | c01d8a2e201cf4b588016869079e84ccca140c5c /src/nvim/main.c | |
parent | e16ff72e71172730f1d2e7c814f774c1174af36b (diff) | |
parent | d85fabc24fbb12fef5f597fc56168cbb20daf214 (diff) | |
download | rneovim-c56c035576f56f86405c40f3708bff49c996f1f8.tar.gz rneovim-c56c035576f56f86405c40f3708bff49c996f1f8.tar.bz2 rneovim-c56c035576f56f86405c40f3708bff49c996f1f8.zip |
Merge #2236 'docs cleanup'
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r-- | src/nvim/main.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c index 0b3402b682..9f4bc22ae0 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -891,7 +891,6 @@ static void command_line_scan(mparm_T *parmp) /* "--help" give help message */ /* "--version" give version message */ /* "--literal" take files literally */ - /* "--nofork" don't fork */ /* "--noplugin[s]" skip plugins */ /* "--cmd <cmd>" execute cmd before vimrc */ if (STRICMP(argv[0] + argv_idx, "help") == 0) @@ -923,7 +922,6 @@ static void command_line_scan(mparm_T *parmp) #if !defined(UNIX) parmp->literal = TRUE; #endif - } else if (STRNICMP(argv[0] + argv_idx, "nofork", 6) == 0) { } else if (STRNICMP(argv[0] + argv_idx, "noplugin", 8) == 0) p_lpl = FALSE; else if (STRNICMP(argv[0] + argv_idx, "cmd", 3) == 0) { @@ -1963,7 +1961,7 @@ static void mainerr(int n, const char *str) } -/// Prints help message and exits; used for 'nvim -h' & 'nvim --help' +/// Prints help message for "nvim -h" or "nvim --help" and exits. static void usage(void) { signal_stop(); // kill us with CTRL-C here, if you like |