mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 15:21:47 +00:00
Rename --api-metadata to --api-msgpack-metadata
This commit is contained in:

committed by
Thiago de Arruda

parent
1971cc30b5
commit
8f7d370f18
@@ -1049,7 +1049,7 @@ static void command_line_scan(mparm_T *parmp)
|
||||
msg_putchar('\n');
|
||||
msg_didout = FALSE;
|
||||
mch_exit(0);
|
||||
} else if (STRICMP(argv[0] + argv_idx, "api-metadata") == 0) {
|
||||
} else if (STRICMP(argv[0] + argv_idx, "api-msgpack-metadata") == 0) {
|
||||
for (unsigned int i = 0; i<msgpack_metadata_size; i++) {
|
||||
putchar(msgpack_metadata[i]);
|
||||
}
|
||||
@@ -2247,7 +2247,7 @@ static void usage(void)
|
||||
main_msg(_("--startuptime <file>\tWrite startup timing messages to <file>"));
|
||||
#endif
|
||||
main_msg(_("-i <viminfo>\t\tUse <viminfo> instead of .viminfo"));
|
||||
main_msg(_("--api-metadata\tDump API metadata information and exit"));
|
||||
main_msg(_("--api-msgpack-metadata\tDump API metadata information and exit"));
|
||||
main_msg(_("-h or --help\tPrint Help (this message) and exit"));
|
||||
main_msg(_("--version\t\tPrint version information and exit"));
|
||||
|
||||
|
Reference in New Issue
Block a user