From a44a6c3c544f28431f8df0f766a598bb27f7b786 Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Sat, 20 Sep 2014 22:51:27 +0000 Subject: [PATCH] Move -sercfg out of the "SSH only" section of command-line help. [originally from svn r10230] --- unix/uxplink.c | 4 ++-- windows/winplink.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/unix/uxplink.c b/unix/uxplink.c index ab674afe..3901ba97 100644 --- a/unix/uxplink.c +++ b/unix/uxplink.c @@ -556,6 +556,8 @@ static void usage(void) printf(" -P port connect to specified port\n"); printf(" -l user connect with specified username\n"); printf(" -batch disable all interactive prompts\n"); + printf(" -sercfg configuration-string (e.g. 19200,8,n,1,X)\n"); + printf(" Specify the serial configuration (serial only)\n"); printf("The following options only apply to SSH connections:\n"); printf(" -pw passw login with specified password\n"); printf(" -D [listen-IP:]listen-port\n"); @@ -580,8 +582,6 @@ static void usage(void) printf(" -N don't start a shell/command (SSH-2 only)\n"); printf(" -nc host:port\n"); printf(" open tunnel in place of session (SSH-2 only)\n"); - printf(" -sercfg configuration-string (e.g. 19200,8,n,1,X)\n"); - printf(" Specify the serial configuration (serial only)\n"); exit(1); } diff --git a/windows/winplink.c b/windows/winplink.c index 169d6bc8..1c4f3307 100644 --- a/windows/winplink.c +++ b/windows/winplink.c @@ -186,6 +186,8 @@ static void usage(void) printf(" -P port connect to specified port\n"); printf(" -l user connect with specified username\n"); printf(" -batch disable all interactive prompts\n"); + printf(" -sercfg configuration-string (e.g. 19200,8,n,1,X)\n"); + printf(" Specify the serial configuration (serial only)\n"); printf("The following options only apply to SSH connections:\n"); printf(" -pw passw login with specified password\n"); printf(" -D [listen-IP:]listen-port\n"); @@ -210,8 +212,6 @@ static void usage(void) printf(" -N don't start a shell/command (SSH-2 only)\n"); printf(" -nc host:port\n"); printf(" open tunnel in place of session (SSH-2 only)\n"); - printf(" -sercfg configuration-string (e.g. 19200,8,n,1,X)\n"); - printf(" Specify the serial configuration (serial only)\n"); exit(1); }