--- src/gsm0710muxd.c | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/src/gsm0710muxd.c b/src/gsm0710muxd.c index 0b9e7ad..6af60c2 100644 --- a/src/gsm0710muxd.c +++ b/src/gsm0710muxd.c @@ -1797,23 +1797,23 @@ static gboolean watchdog(gpointer data) static int usage( char *_name) { - fprintf(stderr, "\tUsage: %s [options]\n", _name); - fprintf(stderr, "Options:\n"); + fprintf(stdout, "\tUsage: %s [options]\n", _name); + fprintf(stdout, "Options:\n"); // process control - fprintf(stderr, "\t-d: Fork, get a daemon [%s]\n", no_daemon?"no":"yes"); - fprintf(stderr, "\t-v: verbose logging\n"); + fprintf(stdout, "\t-d: Fork, get a daemon [%s]\n", no_daemon?"no":"yes"); + fprintf(stdout, "\t-v: verbose logging\n"); // modem control - fprintf(stderr, "\t-s <serial port name>: Serial port device to connect to [%s]\n", serial.devicename); - fprintf(stderr, "\t-t <timeout>: reset modem after this number of seconds of silence [%d]\n", use_timeout); - fprintf(stderr, "\t-P <pin-code>: PIN code to unlock SIM [%d]\n", pin_code); - fprintf(stderr, "\t-p <number>: use ping and reset modem after this number of unanswered pings [%d]\n", use_ping); - fprintf(stderr, "\t-x <dir>: power managment base dir [%s]\n", serial.pm_base_dir?serial.pm_base_dir:"<not set>"); + fprintf(stdout, "\t-s <serial port name>: Serial port device to connect to [%s]\n", serial.devicename); + fprintf(stdout, "\t-t <timeout>: reset modem after this number of seconds of silence [%d]\n", use_timeout); + fprintf(stdout, "\t-P <pin-code>: PIN code to unlock SIM [%d]\n", pin_code); + fprintf(stdout, "\t-p <number>: use ping and reset modem after this number of unanswered pings [%d]\n", use_ping); + fprintf(stdout, "\t-x <dir>: power managment base dir [%s]\n", serial.pm_base_dir?serial.pm_base_dir:"<not set>"); // legacy - will be removed - fprintf(stderr, "\t-b <baudrate>: mode baudrate [%d]\n", baud_rates[cmux_port_speed]); - fprintf(stderr, "\t-m <modem>: Mode (basic, advanced) [%s]\n", cmux_mode?"advanced":"basic"); - fprintf(stderr, "\t-f <framsize>: Frame size [%d]\n", cmux_N1); + fprintf(stdout, "\t-b <baudrate>: mode baudrate [%d]\n", baud_rates[cmux_port_speed]); + fprintf(stdout, "\t-m <modem>: Mode (basic, advanced) [%s]\n", cmux_mode?"advanced":"basic"); + fprintf(stdout, "\t-f <framsize>: Frame size [%d]\n", cmux_N1); // - fprintf(stderr, "\t-h: Show this help message and show current settings.\n"); + fprintf(stdout, "\t-h: Show this help message and show current settings.\n"); return -1; } -- 1.5.6.5 _______________________________________________ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland