fix(help): add --clean to -h (#20171)

update man file to match
This commit is contained in:
Christian Clason
2022-09-14 11:11:17 +02:00
committed by GitHub
parent ddb762f401
commit bf6de51f55
2 changed files with 3 additions and 1 deletions

View File

@@ -200,7 +200,8 @@ Skip loading plugins.
Implied by
.Cm -u NONE .
.It Fl -clean
Mimic a fresh install of Nvim. Skip loading non-builtin plugins and shada (viminfo) file.
Start Nvim with "factory defaults" (no user config and plugins, no shada).
.Ic ":help --clean"
.It Fl o Ns Op Ar N
Open
.Ar N

View File

@@ -2108,6 +2108,7 @@ static void usage(void)
mch_msg(_(" -V[N][file] Verbose [level][file]\n"));
mch_msg("\n");
mch_msg(_(" --api-info Write msgpack-encoded API metadata to stdout\n"));
mch_msg(_(" --clean \"Factory defaults\" (skip user config and plugins, shada)\n"));
mch_msg(_(" --embed Use stdin/stdout as a msgpack-rpc channel\n"));
mch_msg(_(" --headless Don't start a user interface\n"));
mch_msg(_(" --listen <address> Serve RPC API from this address\n"));