diff --git a/cpu/native/startup.c b/cpu/native/startup.c index ef72f42105fb00acab2e71eb812b867bb4e84bcf..9a70f3e3db41deddfafe417382993191c4c97e6d 100644 --- a/cpu/native/startup.c +++ b/cpu/native/startup.c @@ -169,19 +169,22 @@ void usage_exit(void) real_printf(" help: %s -h\n", _progname); real_printf("\nOptions:\n\ --h help\n\ --i specify instance id (set by config module)\n\ --d daemonize\n\ --e redirect stderr to file\n\ --E do not redirect stderr (i.e. leave sterr unchanged despite socket/daemon io)\n\ --o redirect stdout to file when not attached to socket\n"); +-h help\n"); #ifdef MODULE_UART0 real_printf("\ --u redirect stdio to UNIX socket\n\ - if no path is given /tmp/riot.tty.PID is used\n\ --t redirect stdio to TCP socket\n"); +-t <port> redirect stdio to TCP socket listening on <port>\n\ +-u <path> redirect stdio to UNIX socket (<path> if given,\n\ + /tmp/riot.tty.PID otherwise)\n"); #endif + real_printf("\ +-i <id> specify instance id (set by config module)\n\ +-d daemonize\n\ +-e redirect stderr to file\n\ +-E do not redirect stderr (i.e. leave sterr unchanged despite\n\ + daemon/socket io)\n\ +-o redirect stdout to file (/tmp/riot.stdout.PID) when not attached\n\ + to socket\n"); real_printf("\n\ The order of command line arguments matters.\n");