mirror of https://github.com/i3/i3
Add a newline at the end of the version option output. (#5980)
If there is no newline character at the end of the version option's output, the next command line prompt is written left to the version, rather than under it.
This commit is contained in:
parent
051d3537e3
commit
ffbbbf3477
|
@ -407,7 +407,7 @@ int main(int argc, char *argv[]) {
|
|||
socket_path = sstrdup(optarg);
|
||||
break;
|
||||
case 'v':
|
||||
printf("i3-input " I3_VERSION);
|
||||
printf("i3-input " I3_VERSION "\n");
|
||||
return EXIT_OK;
|
||||
case 'p':
|
||||
/* This option is deprecated, but will still work in i3 v4.1, 4.2 and 4.3 */
|
||||
|
|
Loading…
Reference in New Issue