print --help on stdout

This commit is contained in:
Gwenhael Le Moine 2024-10-13 14:12:31 +02:00
parent e6dc8a41d4
commit 5f90d54c5e
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -328,7 +328,7 @@ config_t* config_init( int argc, char* argv[] )
switch ( c ) {
case 'h':
fprintf( stderr, help_text, config.progname );
fprintf( stdout, help_text, config.progname );
exit( EXIT_SUCCESS );
break;
case 6110: