startup: Remove 'N files to edit' message. #5481

Problem:
    When '--embed' passed to command line arguments, stdin and stdout
    are used for IPC. But when multiple files are passed as
    arguments, nvim wrongly sends 'N files to edit' message to its
    stdout. As the result, attaching to process from frontend failed.

Solution:
    Remove the message because it doesn't fill any purpose.
This commit is contained in:
Linda_pp 2016-10-15 01:12:10 +09:00 committed by Justin M. Keyes
parent 819b79dbc5
commit 79d77da8a0

View File

@ -270,11 +270,6 @@ int main(int argc, char **argv)
setbuf(stdout, NULL);
/* This message comes before term inits, but after setting "silent_mode"
* when the input is not a tty. */
if (GARGCOUNT > 1 && !silent_mode)
printf(_("%d files to edit\n"), GARGCOUNT);
full_screen = true;
check_tty(&params);