Make -r imply -l

Raw mode with newline insertion doesn't make sense
main
cel 6 years ago
parent 930130af10
commit 077a9ec331

@ -50,7 +50,8 @@ Send stdin data as JSON.
.It Fl l .It Fl l
Don't output newlines after string or JSON packets. Don't output newlines after string or JSON packets.
.It Fl r .It Fl r
Raw mode. Disables stdin line buffering/editing and echoing. Raw mode. Disables stdin line buffering/editing and echoing. Implies
.Fl l .
.It Fl T .It Fl T
Test using shs1-testsuite protocol. Instead of connecting to a server and running Test using shs1-testsuite protocol. Instead of connecting to a server and running
a command, connect to stdio. On successful handshake, output concatenation of a command, connect to stdio. On successful handshake, output concatenation of

@ -1000,7 +1000,7 @@ int main(int argc, char *argv[]) {
case '6': ipv6_arg = true; break; case '6': ipv6_arg = true; break;
case 'a': passthrough = true; break; case 'a': passthrough = true; break;
case 'l': no_newline = true; break; case 'l': no_newline = true; break;
case 'r': raw = true; break; case 'r': raw = true; no_newline = true; break;
default: usage(); default: usage();
} }
} }

Loading…
Cancel
Save