1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-13 09:31:53 +00:00

Output usage information to stdout, not stderr. This is consistent with the

other tools.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5553 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2012-02-26 11:53:39 +00:00
parent 3265f0cf44
commit c4721fb4e2

View File

@ -6,7 +6,7 @@
/* */ /* */
/* */ /* */
/* */ /* */
/* (C) 2000-2011, Ullrich von Bassewitz */ /* (C) 2000-2012, Ullrich von Bassewitz */
/* Roemerstrasse 52 */ /* Roemerstrasse 52 */
/* D-70794 Filderstadt */ /* D-70794 Filderstadt */
/* EMail: uz@cc65.org */ /* EMail: uz@cc65.org */
@ -70,8 +70,7 @@ static unsigned FilesProcessed = 0;
static void Usage (void) static void Usage (void)
/* Print usage information and exit */ /* Print usage information and exit */
{ {
fprintf (stderr, printf ("Usage: %s [options] file [options] [file]\n"
"Usage: %s [options] file [options] [file]\n"
"Short options:\n" "Short options:\n"
" -h\t\t\tHelp (this text)\n" " -h\t\t\tHelp (this text)\n"
" -H\t\t\tDump the object file header\n" " -H\t\t\tDump the object file header\n"