mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-25 18:10:23 +08:00
BR 2593349: Move version message back to stdout
Checkin 4b9358928b114caaf34a69d6fdfd3b285b7a72cc changed the version message from stdout to stderr, but: a) doesn't motivate the change in the commit log; b) bundles that with other changes; c) is inconsistent with other programs; d) was done by me and I can't remember any reason for it. Hence conclude it was unintentional and therefore a bug. Since this commit was done after 2.05.01 no stable release has been affected.
This commit is contained in:
parent
f8914800f8
commit
2186415f01
4
nasm.c
4
nasm.c
@ -789,8 +789,8 @@ static bool process_arg(char *p, char *q)
|
||||
break;
|
||||
|
||||
case 'v':
|
||||
fprintf(stderr, "NASM version %s compiled on %s%s\n",
|
||||
nasm_version, nasm_date, nasm_compile_options);
|
||||
printf("NASM version %s compiled on %s%s\n",
|
||||
nasm_version, nasm_date, nasm_compile_options);
|
||||
exit(0); /* never need usage message here */
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user